diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-11-23 14:35:53 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-11-23 14:36:04 +0100 |
commit | 504715c215605552d5e7771550bc21cc35b1af5d (patch) | |
tree | 793d9e5592d6eafbca203d9a7727438ef454f29b /src/main/java | |
parent | 5f15c12f533c4a7b1b5a808516598adf518ec504 (diff) |
use toastcompat library to catch BadTokenException
Diffstat (limited to '')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java index c7f35f3b8..7f9e971d3 100644 --- a/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ConferenceDetailsActivity.java @@ -67,6 +67,7 @@ import de.pixart.messenger.utils.StylingHelper; import de.pixart.messenger.utils.TimeframeUtils; import de.pixart.messenger.utils.UIHelper; import de.pixart.messenger.utils.XmppUri; +import me.drakeet.support.toast.ToastCompat; import rocks.xmpp.addr.Jid; import static de.pixart.messenger.entities.Bookmark.printableValue; @@ -790,7 +791,7 @@ public class ConferenceDetailsActivity extends XmppActivity implements OnConvers if (isFinishing()) { return; } - Toast.makeText(ConferenceDetailsActivity.this, msg, Toast.LENGTH_SHORT).show(); + ToastCompat.makeText(this, msg, Toast.LENGTH_SHORT).show(); }); } |