mirror of
https://github.com/moparisthebest/Conversations
synced 2025-02-01 23:40:10 -05:00
fixed weird snackbar click issues
This commit is contained in:
parent
721b308f28
commit
5477ff1aea
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user