aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-12 23:23:25 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-12 23:23:25 +0200
commit5477ff1aeaf68fdb2ff68f35c5d72171074293a0 (patch)
treee260e76ee478e98a82709f5be2d05fc4366e519b
parent721b308f28c6efbe8eda917725f2a85d8f70525f (diff)
fixed weird snackbar click issues
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/ui/ConversationFragment.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/ui/ConversationFragment.java b/src/eu/siacs/conversations/ui/ConversationFragment.java
index fced1e38..1270d23a 100644
--- a/src/eu/siacs/conversations/ui/ConversationFragment.java
+++ b/src/eu/siacs/conversations/ui/ConversationFragment.java
@@ -499,7 +499,9 @@ public class ConversationFragment extends Fragment {
protected void showSnackbar(int message, int action,
OnClickListener clickListener) {
snackbar.setVisibility(View.VISIBLE);
+ snackbar.setOnClickListener(null);
snackbarMessage.setText(message);
+ snackbarMessage.setOnClickListener(null);
snackbarAction.setText(action);
snackbarAction.setOnClickListener(clickListener);
}