diff --git a/app/src/main/java/com/m2049r/xmrwallet/WalletActivity.java b/app/src/main/java/com/m2049r/xmrwallet/WalletActivity.java index 08ec3e93..52de0c93 100644 --- a/app/src/main/java/com/m2049r/xmrwallet/WalletActivity.java +++ b/app/src/main/java/com/m2049r/xmrwallet/WalletActivity.java @@ -179,7 +179,7 @@ public class WalletActivity extends SecureActivity implements WalletFragment.Lis saveWallet(); } stopWalletService(); - drawer.removeDrawerListener(drawerToggle); + if (drawer != null) drawer.removeDrawerListener(drawerToggle); super.onDestroy(); }