fixing display issue when locking a vault and changign to another vault during the lock process

This commit is contained in:
infeo
2018-07-12 11:53:44 +02:00
parent ffe8887114
commit acb8d4cd0c

View File

@@ -511,7 +511,9 @@ public class MainController implements ViewController {
public void didLock(UnlockedController ctrl) {
unlockedVaults.remove(ctrl.getVault());
showUnlockView(UnlockController.State.UNLOCKING);
if (ctrl.getVault().getId() == selectedVault.get().getId()) {
showUnlockView(UnlockController.State.UNLOCKING);
}
activeController.get().focus();
}