diff options
| author | Piotrek Marciniak | 2022-09-24 13:13:51 +0200 |
|---|---|---|
| committer | GitHub | 2022-09-24 13:13:51 +0200 |
| commit | a365fdc6a36e0b74d3486f7633b7e0bba42f4020 (patch) | |
| tree | acb503e053f06dda1baa69e82ce64d4833b2fdd0 /srcs/juloo.keyboard2 | |
| parent | 9fc15650652d47d96120c1f889d32a363e405c8b (diff) | |
| download | unexpected-keyboard-a365fdc6a36e0b74d3486f7633b7e0bba42f4020.tar.gz unexpected-keyboard-a365fdc6a36e0b74d3486f7633b7e0bba42f4020.zip | |
Add white e-ink oriented theme (#193)
* Add white e-ing oriented theme
Co-authored-by: Jules Aguillon <jules@j3s.fr>
Diffstat (limited to 'srcs/juloo.keyboard2')
| -rw-r--r-- | srcs/juloo.keyboard2/Config.java | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/srcs/juloo.keyboard2/Config.java b/srcs/juloo.keyboard2/Config.java index fd226ed..3a8d15f 100644 --- a/srcs/juloo.keyboard2/Config.java +++ b/srcs/juloo.keyboard2/Config.java @@ -228,6 +228,7 @@ final class Config case "light": return R.style.Light; case "black": return R.style.Black; case "dark": return R.style.Dark; + case "white": return R.style.White; default: case "system": if (Build.VERSION.SDK_INT >= 8) @@ -267,16 +268,6 @@ final class Config } } - public static int themeId_of_string(String name) - { - switch (name) - { - case "light": return R.style.Light; - case "black": return R.style.Black; - default: case "dark": return R.style.Dark; - } - } - private static Config _globalConfig = null; public static void initGlobalConfig(Context context, IKeyEventHandler handler) |
