From 6835331664628be089e866e52a63b1f7ab5390d4 Mon Sep 17 00:00:00 2001 From: Mo Bitar Date: Wed, 10 Apr 2019 08:57:18 -0500 Subject: [PATCH] Fixes app lock button click area, fixes #284 --- app/assets/templates/footer.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/templates/footer.html.haml b/app/assets/templates/footer.html.haml index f53a66a7b..ab1e72371 100644 --- a/app/assets/templates/footer.html.haml +++ b/app/assets/templates/footer.html.haml @@ -59,6 +59,6 @@ .svg-item{"ng-attr-id" => "dock-svg-{{shortcut.component.uuid}}", "elem-ready" => "ctrl.initSvgForShortcut(shortcut)"} .sk-app-bar-item.border{"ng-if" => "ctrl.hasPasscode()"} - .sk-app-bar-item#lock-item{"ng-if" => "ctrl.hasPasscode()", "title" => "Locks application and wipes unencrypted data from memory."} + .sk-app-bar-item#lock-item{"ng-if" => "ctrl.hasPasscode()", "ng-click" => "ctrl.lockApp()", "title" => "Locks application and wipes unencrypted data from memory."} .sk-label - %i.icon.ion-locked#footer-lock-icon{"ng-if" => "ctrl.hasPasscode()", "ng-click" => "ctrl.lockApp()"} + %i.icon.ion-locked#footer-lock-icon