diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-09-07 20:59:17 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-09-07 20:59:17 +0200 |
commit | 85932aec00a609e93d81ce1c39b554824c4e0833 (patch) | |
tree | f3870481f6d4ccb15dd3a20d15336f698e9bb779 | |
parent | 5448073f7dd80a53d180e1fec581718e840a5dca (diff) |
close progress if there is an error or userinput required
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConversationActivity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationActivity.java b/src/main/java/de/pixart/messenger/ui/ConversationActivity.java index 5217d1be2..5104cb9a8 100644 --- a/src/main/java/de/pixart/messenger/ui/ConversationActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ConversationActivity.java @@ -1774,6 +1774,7 @@ public class ConversationActivity extends XmppActivity @Override public void error(final int errorCode, Message message) { + closeProgress(); hidePrepareFileToast(prepareFileToast); runOnUiThread(new Runnable() { @Override @@ -1786,6 +1787,7 @@ public class ConversationActivity extends XmppActivity @Override public void userInputRequried(PendingIntent pi, Message message) { + closeProgress(); hidePrepareFileToast(prepareFileToast); } }); |