From 05fce3bd092b6ef03714a853358e5fc0cae12740 Mon Sep 17 00:00:00 2001 From: Aleksandras Kostarevas Date: Tue, 22 Aug 2023 20:40:12 +0300 Subject: [PATCH] Disable top suggestion icon --- java/src/org/futo/inputmethod/latin/uix/ActionBar.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java/src/org/futo/inputmethod/latin/uix/ActionBar.kt b/java/src/org/futo/inputmethod/latin/uix/ActionBar.kt index 378642911..3bdcf4ae3 100644 --- a/java/src/org/futo/inputmethod/latin/uix/ActionBar.kt +++ b/java/src/org/futo/inputmethod/latin/uix/ActionBar.kt @@ -168,18 +168,18 @@ fun RowScope.SuggestionItem(words: SuggestedWords, idx: Int, isPrimary: Boolean, null } - val topSuggestionIcon = painterResource(id = R.drawable.top_suggestion) + //val topSuggestionIcon = painterResource(id = R.drawable.top_suggestion) val textButtonModifier = when (isPrimary) { true -> Modifier.drawBehind { - with(topSuggestionIcon) { + /*with(topSuggestionIcon) { val iconSize = topSuggestionIcon.intrinsicSize translate( left = (size.width - iconSize.width) / 2.0f, top = size.height - iconSize.height * 2.0f ) { - draw(topSuggestionIcon.intrinsicSize) + draw(topSuggestionIcon.intrinsicSize) // Needs to be tinted } - } + }*/ } false -> Modifier }