Fix passphrase entry trigger
This commit is contained in:
parent
b908ffcfcf
commit
4d63dd4ea2
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ class _GalleryAppBarWidgetState extends State<GalleryAppBarWidget> {
|
|||
page = EmailEntryPage();
|
||||
} else {
|
||||
// No key
|
||||
if (Configuration.instance.getKey() == null) {
|
||||
// Yet to decrypt the key
|
||||
if (Configuration.instance.getKeyAttributes() != null) {
|
||||
// Yet to set or decrypt the key
|
||||
page = PassphraseReentryPage();
|
||||
} else {
|
||||
// Never had a key
|
||||
|
|
Loading…
Add table
Reference in a new issue