aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatlistItem.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/ChatlistItem.qml')
-rw-r--r--qml/ChatlistItem.qml20
1 files changed, 7 insertions, 13 deletions
diff --git a/qml/ChatlistItem.qml b/qml/ChatlistItem.qml
index d087f4b..aa05d42 100644
--- a/qml/ChatlistItem.qml
+++ b/qml/ChatlistItem.qml
@@ -85,6 +85,7 @@ Kirigami.AbstractListItem {
}
+ // Contact request / new messages count badge
Label {
text: root.isContactRequest ? "NEW" : root.freshMsgCnt
visible: root.freshMsgCnt > 0 || root.isContactRequest
@@ -101,20 +102,13 @@ Kirigami.AbstractListItem {
}
- // "Pinned" badge
- Rectangle {
+ // Pinned message badge
+ Label {
visible: root.isPinned
- color: Kirigami.Theme.alternateBackgroundColor
- width: Kirigami.Units.gridUnit
- height: Kirigami.Units.gridUnit
- radius: 0.25 * height
-
- Kirigami.Icon {
- source: "pin"
- height: Kirigami.Units.gridUnit
- width: Kirigami.Units.gridUnit
- }
-
+ text: "📌"
+ font.pixelSize: 20
+ rightPadding: 15
+ bottomPadding: 15
}
}