mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-22 18:55:12 +00:00
Adjust sizes for text post text size.
This commit is contained in:
committed by
Greyson Parrelli
parent
83c3b16b92
commit
6497ec8098
@@ -25,7 +25,7 @@ class TextStoryTextWatcher private constructor(private val textView: TextView) :
|
||||
breakIteratorCompat.setText(textView.text)
|
||||
val length = breakIteratorCompat.countBreaks()
|
||||
val expectedTextSize = when {
|
||||
length < 50 -> 36f
|
||||
length < 50 -> 34f
|
||||
length < 200 -> 24f
|
||||
else -> 18f
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user