@@ -587,11 +587,12 @@ abstract class GeneralKeyboardIME(
587
587
588
588
val textColor = if (isUserDarkMode) Color .WHITE else " #1E1E1E" .toColorInt()
589
589
590
- listOf (binding.translateBtn, binding.conjugateBtn, binding.pluralBtn).forEach { button ->
590
+ listOf (binding.translateBtn, binding.conjugateBtn, binding.pluralBtn).forEachIndexed { index, button ->
591
591
button.visibility = View .VISIBLE
592
592
button.background = null
593
593
button.setTextColor(textColor)
594
- button.text = " "
594
+ button.text = HintUtils .getBaseAutoSuggestions(language).getOrNull(index)
595
+ button.isAllCaps = false
595
596
button.textSize = SUGGESTION_SIZE
596
597
button.setOnClickListener(null )
597
598
}
@@ -1741,10 +1742,11 @@ abstract class GeneralKeyboardIME(
1741
1742
1742
1743
// Don't change button text if we're in TRANSLATE or SELECT_COMMAND state
1743
1744
if (currentState != ScribeState .TRANSLATE && currentState != ScribeState .SELECT_COMMAND ) {
1744
- binding.translateBtn.text = " "
1745
+ binding.translateBtn.text = HintUtils .getBaseAutoSuggestions(language)[0 ]
1746
+ binding.conjugateBtn.text = HintUtils .getBaseAutoSuggestions(language)[1 ]
1747
+ binding.pluralBtn.text = HintUtils .getBaseAutoSuggestions(language)[2 ]
1745
1748
binding.translateBtn.background = null
1746
1749
binding.translateBtn.setOnClickListener(null )
1747
-
1748
1750
binding.conjugateBtn.setOnClickListener(null )
1749
1751
binding.pluralBtn.setOnClickListener(null )
1750
1752
}
0 commit comments