Fix crash when clean install
This commit is contained in:
parent
a44dc8df37
commit
118a9f224e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user