store on exit wallet if not synced (#152)

This commit is contained in:
m2049r 2017-12-07 20:04:04 +01:00 committed by GitHub
parent ac78ecb298
commit cab93e8c5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -846,6 +846,9 @@ public class WalletActivity extends SecureActivity implements WalletFragment.Lis
super.onBackPressed();
}
} else {
if (!isSynced()) {
saveWallet();
}
super.onBackPressed();
}
}