Skip to content
Snippets Groups Projects
Commit 7d60128e authored by Jawnnypoo's avatar Jawnnypoo
Browse files

Fix crash if no accounts

parent 5a26dd41
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -35,6 +35,7 @@ public class LaunchActivity extends Activity {
List<Account> accounts = Account.getAccounts(this);
if(accounts.isEmpty()) {
Navigator.navigateToLogin(this);
finish();
} else {
if (PRIVATE_KEY_ENABLED) {
loadPrivateKey(accounts, 0);
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment