aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-11-30 19:15:42 +0100
committerChristian Schneppe <christian@pix-art.de>2018-11-30 19:15:42 +0100
commit8071fb24305aaea54737efeb43b6ba03a1be034d (patch)
treee96dce8790c35dd0cfa35950e3819893a5fd24a9
parent855e4b428b18a06e703dcb17c6a0ad0820451230 (diff)
don't refresh Blocklist if activity is finishing
-rw-r--r--src/main/java/de/pixart/messenger/ui/EditAccountActivity.java3
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();
}
}