From 8071fb24305aaea54737efeb43b6ba03a1be034d Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Fri, 30 Nov 2018 19:15:42 +0100 Subject: don't refresh Blocklist if activity is finishing --- src/main/java/de/pixart/messenger/ui/EditAccountActivity.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java') 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(); } } -- cgit v1.2.3