Fixed gradient drawable not used for background (#125)

This commit is contained in:
BlackyHawky 2023-09-03 22:35:33 +02:00 committed by GitHub
parent 5ec846d8f2
commit 0c38c936aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,7 +196,7 @@ public class KeyboardView extends View {
// todo: this should only be applied to specific keyboards, check original version for which one
// and actually this again is something that maybe should be done in Colors
final Drawable keyboardBackground = mColors.getKeyboardBackground();
if (this instanceof MoreSuggestionsView && keyboardBackground != null)
if (!(this instanceof MoreSuggestionsView) && keyboardBackground != null)
setBackground(keyboardBackground);
else
getBackground().setColorFilter(mColors.backgroundFilter);