From 9c5f9731f91fce6be3322c26eed709fd365a8a0b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 12 Apr 2020 16:47:20 +0200 Subject: [PATCH] store default if user didnt touch Font settings --- .../main/java/org/mian/gitnex/fragments/SettingsFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java b/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java index 4202d91a..68fa8b19 100644 --- a/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java +++ b/app/src/main/java/org/mian/gitnex/fragments/SettingsFragment.java @@ -124,7 +124,7 @@ public class SettingsFragment extends Fragment { } if(customFontSelectedChoice == 0) { - customFontSelectedChoice = tinyDb.getInt("customFontId", 1); + customFontSelectedChoice = tinyDb.getInt("customFontId", -1); } if(themeSelectedChoice == 0) {