From 5477ff1aeaf68fdb2ff68f35c5d72171074293a0 Mon Sep 17 00:00:00 2001 From: iNPUTmice Date: Tue, 12 Aug 2014 23:23:25 +0200 Subject: fixed weird snackbar click issues --- src/eu/siacs/conversations/ui/ConversationFragment.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/eu/siacs/conversations/ui') 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); } -- cgit v1.2.3