Prevent crash

This commit is contained in:
M66B 2019-04-18 07:21:53 +02:00
parent 41adbe698b
commit 8b5c41b7f5
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ public class ActivitySetup extends ActivityBilling implements FragmentManager.On
final RadioGroup rgTheme = dview.findViewById(R.id.rgTheme); final RadioGroup rgTheme = dview.findViewById(R.id.rgTheme);
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this); final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(this);
String theme = prefs.getString("theme", null); String theme = prefs.getString("theme", "light");
switch (theme) { switch (theme) {
case "dark": case "dark":