Display mute symbol for muted chats

This commit is contained in:
Sebastian J. Wolf 2020-09-15 23:03:41 +02:00
parent fbb1fbcf90
commit 0daea61bd9

View file

@ -303,7 +303,7 @@ Page {
Text {
id: chatListNameText
text: display.title !== "" ? Emoji.emojify(display.title, Theme.fontSizeMedium) : qsTr("Unknown")
text: display.title !== "" ? Emoji.emojify(display.title, font.pixelSize) + ( display.notification_settings.mute_for > 0 ? Emoji.emojify(" 🔇", font.pixelSize) : "" ) : qsTr("Unknown")
textFormat: Text.StyledText
font.pixelSize: Theme.fontSizeMedium
color: Theme.primaryColor