Commit 118a9f22 authored by topjohnwu's avatar topjohnwu

Fix crash when clean install

parent a44dc8df
...@@ -349,9 +349,9 @@ public class Config { ...@@ -349,9 +349,9 @@ public class Config {
continue; continue;
switch (getConfigType(key)) { switch (getConfigType(key)) {
case PREF_INT: case PREF_INT:
case DB_INT:
editor.putInt(key, defs.getInt(key)); editor.putInt(key, defs.getInt(key));
break; break;
case DB_INT:
case PREF_STR_INT: case PREF_STR_INT:
editor.putString(key, String.valueOf(defs.getInt(key))); editor.putString(key, String.valueOf(defs.getInt(key)));
break; 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