mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -05:00
don't show snackbar when notifications are disabled or paused
This commit is contained in:
parent
a3e136b550
commit
9dce42ac7f
@ -742,14 +742,6 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
|
||||
}
|
||||
};
|
||||
|
||||
private OnClickListener mUnmuteClickListener = new OnClickListener() {
|
||||
|
||||
@Override
|
||||
public void onClick(final View v) {
|
||||
activity.unmuteConversation(conversation);
|
||||
}
|
||||
};
|
||||
|
||||
private OnClickListener mAnswerSmpClickListener = new OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
@ -805,8 +797,6 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
|
||||
&& (conversation.getOtrSession().getSessionStatus() == SessionStatus.ENCRYPTED)
|
||||
&& (!conversation.isOtrFingerprintVerified())) {
|
||||
showSnackbar(R.string.unknown_otr_fingerprint, R.string.verify, clickToVerify);
|
||||
} else if (conversation.isMuted()) {
|
||||
showSnackbar(R.string.notifications_disabled, R.string.enable, this.mUnmuteClickListener);
|
||||
} else {
|
||||
hideSnackbar();
|
||||
}
|
||||
|
@ -266,7 +266,6 @@
|
||||
<string name="skip">Skip</string>
|
||||
<string name="disable_notifications">Disable notifications</string>
|
||||
<string name="disable_notifications_for_this_conversation">Disable notifications for this conversation</string>
|
||||
<string name="notifications_disabled">Notifications are disabled</string>
|
||||
<string name="enable">Enable</string>
|
||||
<string name="conference_requires_password">Conference requires password</string>
|
||||
<string name="enter_password">Enter password</string>
|
||||
|
Loading…
Reference in New Issue
Block a user