Skip to content

Commit

Permalink
fix: text can't be read due to button to scroll up (closes #331)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnyro committed Sep 13, 2023
1 parent b23baee commit fbc7039
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ fun TranslationComponent(
val charPref = Preferences.get(Preferences.charCounterLimitKey, "")

StyledTextField(
text = viewModel.translation.translatedText,
text = viewModel.translation.translatedText + "\n\n\n",
readOnly = true,
textColor = if (
charPref.isNotEmpty() && viewModel.translation.translatedText.length >= charPref.toInt()
Expand Down

0 comments on commit fbc7039

Please sign in to comment.