mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-28 15:38:14 +08:00
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 <danny@seymour.family>
This commit is contained in:
parent
94099f4908
commit
69e1808290
1
changelog.d/5717.misc
Normal file
1
changelog.d/5717.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
fix: increase font size for messages
|
@ -85,7 +85,7 @@ abstract class MessageTextItem : AbsMessageItem<MessageTextItem.Holder>() {
|
|||||||
if (useBigFont) {
|
if (useBigFont) {
|
||||||
holder.messageView.textSize = 44F
|
holder.messageView.textSize = 44F
|
||||||
} else {
|
} else {
|
||||||
holder.messageView.textSize = 14F
|
holder.messageView.textSize = 15.5F
|
||||||
}
|
}
|
||||||
if (searchForPills) {
|
if (searchForPills) {
|
||||||
message?.charSequence?.findPillsAndProcess(coroutineScope) {
|
message?.charSequence?.findPillsAndProcess(coroutineScope) {
|
||||||
|
Loading…
Reference in New Issue
Block a user