mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-14 05:52:47 +00:00
Fixed gradient drawable not used for background (#125)
This commit is contained in:
parent
5ec846d8f2
commit
0c38c936aa
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ public class KeyboardView extends View {
|
||||||
// todo: this should only be applied to specific keyboards, check original version for which one
|
// 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
|
// and actually this again is something that maybe should be done in Colors
|
||||||
final Drawable keyboardBackground = mColors.getKeyboardBackground();
|
final Drawable keyboardBackground = mColors.getKeyboardBackground();
|
||||||
if (this instanceof MoreSuggestionsView && keyboardBackground != null)
|
if (!(this instanceof MoreSuggestionsView) && keyboardBackground != null)
|
||||||
setBackground(keyboardBackground);
|
setBackground(keyboardBackground);
|
||||||
else
|
else
|
||||||
getBackground().setColorFilter(mColors.backgroundFilter);
|
getBackground().setColorFilter(mColors.backgroundFilter);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue