From a365fdc6a36e0b74d3486f7633b7e0bba42f4020 Mon Sep 17 00:00:00 2001 From: Piotrek Marciniak Date: Sat, 24 Sep 2022 13:13:51 +0200 Subject: Add white e-ink oriented theme (#193) * Add white e-ing oriented theme Co-authored-by: Jules Aguillon --- srcs/juloo.keyboard2/Config.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'srcs/juloo.keyboard2/Config.java') 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) -- cgit v1.2.3