Loading java/src/com/android/inputmethod/latin/LatinIME.java +2 −2 Original line number Diff line number Diff line Loading @@ -918,9 +918,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen int currentNightMode = view.getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK; int tintColor = ContextCompat.getColor(view.getContext(), Color.BLACK); //Light mode is black int tintColor = Color.BLACK; //Light mode, icon is black if (currentNightMode == Configuration.UI_MODE_NIGHT_YES) { tintColor = ContextCompat.getColor(view.getContext(), Color.WHITE); tintColor = Color.WHITE; } Drawable icon = ContextCompat.getDrawable(view.getContext(), R.drawable.ic_ime_switch); Loading Loading
java/src/com/android/inputmethod/latin/LatinIME.java +2 −2 Original line number Diff line number Diff line Loading @@ -918,9 +918,9 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen int currentNightMode = view.getResources().getConfiguration().uiMode & Configuration.UI_MODE_NIGHT_MASK; int tintColor = ContextCompat.getColor(view.getContext(), Color.BLACK); //Light mode is black int tintColor = Color.BLACK; //Light mode, icon is black if (currentNightMode == Configuration.UI_MODE_NIGHT_YES) { tintColor = ContextCompat.getColor(view.getContext(), Color.WHITE); tintColor = Color.WHITE; } Drawable icon = ContextCompat.getDrawable(view.getContext(), R.drawable.ic_ime_switch); Loading