abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Config.java
diff options
context:
space:
mode:
authorPiotrek Marciniak2022-09-24 13:13:51 +0200
committerGitHub2022-09-24 13:13:51 +0200
commita365fdc6a36e0b74d3486f7633b7e0bba42f4020 (patch)
treeacb503e053f06dda1baa69e82ce64d4833b2fdd0 /srcs/juloo.keyboard2/Config.java
parent9fc15650652d47d96120c1f889d32a363e405c8b (diff)
downloadunexpected-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/Config.java')
-rw-r--r--srcs/juloo.keyboard2/Config.java11
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)