abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Keyboard2View.java
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/juloo.keyboard2/Keyboard2View.java')
-rw-r--r--srcs/juloo.keyboard2/Keyboard2View.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/srcs/juloo.keyboard2/Keyboard2View.java b/srcs/juloo.keyboard2/Keyboard2View.java
index c85af4d..4430df4 100644
--- a/srcs/juloo.keyboard2/Keyboard2View.java
+++ b/srcs/juloo.keyboard2/Keyboard2View.java
@@ -45,14 +45,14 @@ public class Keyboard2View extends View
_vibratorService = (Vibrator)context.getSystemService(Context.VIBRATOR_SERVICE);
_handler = new Handler(this);
_theme = new Theme(getContext(), attrs);
- refreshConfig(((Keyboard2)context).getConfig(), null);
+ _config = Config.globalConfig();
+ refreshConfig(null);
setOnTouchListener(this);
}
/* Internally calls [reset()]. */
- public void refreshConfig(Config config, KeyboardData kw)
+ public void refreshConfig(KeyboardData kw)
{
- _config = config;
if (kw != null)
setKeyboard(kw); // handle layout options then calls reset().
}