diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-11-30 19:15:42 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-11-30 19:15:42 +0100 |
commit | 8071fb24305aaea54737efeb43b6ba03a1be034d (patch) | |
tree | e96dce8790c35dd0cfa35950e3819893a5fd24a9 /src/main/java/de/pixart | |
parent | 855e4b428b18a06e703dcb17c6a0ad0820451230 (diff) |
don't refresh Blocklist if activity is finishing
Diffstat (limited to 'src/main/java/de/pixart')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/EditAccountActivity.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java index 92962fb45..25f151aa1 100644 --- a/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java +++ b/src/main/java/de/pixart/messenger/ui/EditAccountActivity.java @@ -1366,6 +1366,9 @@ public class EditAccountActivity extends OmemoActivity implements OnAccountUpdat @Override public void OnUpdateBlocklist(Status status) { + if (isFinishing()) { + return; + } refreshUi(); } } |