fix: only show notification settings if the contact is not muted and a group

This commit is contained in:
Harris 2021-08-18 12:15:49 +10:00
parent ea71334524
commit 1f3db80d36

View file

@ -92,6 +92,9 @@ object ConversationMenuHelper {
inflater.inflate(R.menu.menu_conversation_muted, menu)
} else {
inflater.inflate(R.menu.menu_conversation_unmuted, menu)
}
if (thread.isGroupRecipient && !thread.isMuted) {
inflater.inflate(R.menu.menu_conversation_notification_settings, menu)
}