Skip to content

Commit

Permalink
wallet updateStatus only when added (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2049r authored Oct 3, 2017
1 parent f16afdb commit f282f01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/main/java/com/m2049r/xmrwallet/WalletFragment.java
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ String setActivityTitle(Wallet wallet) {
private String walletTitle = null;

private void updateStatus(Wallet wallet) {
if (!isAdded()) return;
Log.d(TAG, "updateStatus()");
if (walletTitle == null) {
walletTitle = setActivityTitle(wallet);
Expand Down

0 comments on commit f282f01

Please sign in to comment.