From 69e180829084afe89793f41e8f6d5c6edea77879 Mon Sep 17 00:00:00 2001 From: Danny Seymour Date: Thu, 7 Apr 2022 02:45:10 -0700 Subject: [PATCH] fix: increase font size for messages On phones with a rather large screen, the given font sizing is small even for the default theme. Increasing the size helps with readability and reduces strain on the eyes. Signed-off-by: Danny Seymour --- changelog.d/5717.misc | 1 + .../features/home/room/detail/timeline/item/MessageTextItem.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog.d/5717.misc diff --git a/changelog.d/5717.misc b/changelog.d/5717.misc new file mode 100644 index 0000000000..0b191e249a --- /dev/null +++ b/changelog.d/5717.misc @@ -0,0 +1 @@ +fix: increase font size for messages diff --git a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageTextItem.kt b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageTextItem.kt index bc9e4a7ff1..3d00cac396 100644 --- a/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageTextItem.kt +++ b/vector/src/main/java/im/vector/app/features/home/room/detail/timeline/item/MessageTextItem.kt @@ -85,7 +85,7 @@ abstract class MessageTextItem : AbsMessageItem() { if (useBigFont) { holder.messageView.textSize = 44F } else { - holder.messageView.textSize = 14F + holder.messageView.textSize = 15.5F } if (searchForPills) { message?.charSequence?.findPillsAndProcess(coroutineScope) {