Commit 118a9f22 authored by topjohnwu's avatar topjohnwu

Fix crash when clean install

parent a44dc8df
......@@ -349,9 +349,9 @@ public class Config {
continue;
switch (getConfigType(key)) {
case PREF_INT:
case DB_INT:
editor.putInt(key, defs.getInt(key));
break;
case DB_INT:
case PREF_STR_INT:
editor.putString(key, String.valueOf(defs.getInt(key)));
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment