From 118a9f224e985db2dc5aeab81b63adc82bc1b539 Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Tue, 22 Jan 2019 03:52:53 -0500 Subject: [PATCH] Fix crash when clean install --- core/src/main/java/com/topjohnwu/core/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/topjohnwu/core/Config.java b/core/src/main/java/com/topjohnwu/core/Config.java index c44ca707c..54b058433 100644 --- a/core/src/main/java/com/topjohnwu/core/Config.java +++ b/core/src/main/java/com/topjohnwu/core/Config.java @@ -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;