mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 13:27:46 +00:00
if the user press back without cloning, he gets an NPE
This commit is contained in:
parent
b058008523
commit
9c2115d2d2
@ -329,7 +329,7 @@ public class PasswordStore extends ActionBarActivity {
|
|||||||
super.onBackPressed();
|
super.onBackPressed();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!plist.isNotEmpty()) {
|
if (null != plist && !plist.isNotEmpty()) {
|
||||||
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user