Fix crash when clean install

This commit is contained in:
topjohnwu 2019-01-22 03:52:53 -05:00
parent a44dc8df37
commit 118a9f224e

View File

@ -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;