Adjust sizes for text post text size.

This commit is contained in:
Alex Hart
2022-03-18 15:36:01 -03:00
committed by Greyson Parrelli
parent 83c3b16b92
commit 6497ec8098
3 changed files with 3 additions and 3 deletions

View File

@@ -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
}