fixed weird snackbar click issues

This commit is contained in:
iNPUTmice 2014-08-12 23:23:25 +02:00
parent 721b308f28
commit 5477ff1aea
1 changed files with 2 additions and 0 deletions

View File

@ -499,7 +499,9 @@ public class ConversationFragment extends Fragment {
protected void showSnackbar(int message, int action, protected void showSnackbar(int message, int action,
OnClickListener clickListener) { OnClickListener clickListener) {
snackbar.setVisibility(View.VISIBLE); snackbar.setVisibility(View.VISIBLE);
snackbar.setOnClickListener(null);
snackbarMessage.setText(message); snackbarMessage.setText(message);
snackbarMessage.setOnClickListener(null);
snackbarAction.setText(action); snackbarAction.setText(action);
snackbarAction.setOnClickListener(clickListener); snackbarAction.setOnClickListener(clickListener);
} }