enter/leave protected session button is not refreshed after entering from note detail (not dialog), fixes #555

(cherry picked from commit 0a0663be69)
This commit is contained in:
zadam 2019-06-03 20:36:37 +02:00
parent 412375e92f
commit b389ec5ea3

View file

@ -55,11 +55,11 @@ async function setupProtectedSession(password) {
protectedSessionDeferred.resolve(true);
protectedSessionDeferred = null;
$enterProtectedSessionButton.hide();
$leaveProtectedSessionButton.show();
}
$enterProtectedSessionButton.hide();
$leaveProtectedSessionButton.show();
infoService.showMessage("Protected session has been started.");
}