summary refs log tree commit diff
path: root/resources/qml/delegates/TextMessage.qml
diff options
context:
space:
mode:
authorlkito <lkiti17@freeuni.edu.ge>2020-05-19 23:04:38 +0400
committerlkito <lkiti17@freeuni.edu.ge>2020-05-21 16:31:27 +0400
commitd8b89e2ef0a1a650a4bc249025ad6987cbf2176d (patch)
tree3064221b74ba459cb5aca8b7130065dca46673d6 /resources/qml/delegates/TextMessage.qml
parentadd a bit of additional logging to image paste (diff)
downloadnheko-d8b89e2ef0a1a650a4bc249025ad6987cbf2176d.tar.xz
Added an optional feature to show bigger emoji-only messages with 3 or less emoji
Diffstat (limited to 'resources/qml/delegates/TextMessage.qml')
-rw-r--r--resources/qml/delegates/TextMessage.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/delegates/TextMessage.qml b/resources/qml/delegates/TextMessage.qml
index bef4f76d..d17723f3 100644
--- a/resources/qml/delegates/TextMessage.qml
+++ b/resources/qml/delegates/TextMessage.qml
@@ -6,4 +6,5 @@ MatrixText {
 	width: parent ? parent.width : undefined
 	height: isReply ? Math.min(chat.height / 8, implicitHeight) : undefined
 	clip: true
+	font.pointSize: (timelineSettings.enlarge_emoji_only_msg && model.data.isOnlyEmoji > 0 && model.data.isOnlyEmoji < 4) ? settings.font_size * 3 : settings.font_size
 }