remove unnecessary rounded close icon, see #649

and rename closeView to close, as the icon can be more generic than the toolbar key
This commit is contained in:
Helium314 2024-04-06 19:33:11 +02:00
parent 38126d2840
commit 8870601402
7 changed files with 5 additions and 17 deletions

View file

@ -78,7 +78,7 @@ private fun getStyleableIconId(key: ToolbarKey) = when (key) {
FULL_LEFT -> R.styleable.Keyboard_iconFullLeft
FULL_RIGHT -> R.styleable.Keyboard_iconFullRight
SELECT_WORD -> R.styleable.Keyboard_iconSelectWord
CLOSE_HISTORY -> R.styleable.Keyboard_iconCloseView
CLOSE_HISTORY -> R.styleable.Keyboard_iconClose
}
fun getToolbarIconByName(name: String, context: Context): Drawable? {