mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 05:17:43 +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();
|
||||
}
|
||||
|
||||
if (!plist.isNotEmpty()) {
|
||||
if (null != plist && !plist.isNotEmpty()) {
|
||||
getSupportActionBar().setDisplayHomeAsUpEnabled(false);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user