diff --git a/app/src/main/java/com/limelight/preferences/PreferenceConfiguration.java b/app/src/main/java/com/limelight/preferences/PreferenceConfiguration.java index 41b7c398..8fd819a8 100644 --- a/app/src/main/java/com/limelight/preferences/PreferenceConfiguration.java +++ b/app/src/main/java/com/limelight/preferences/PreferenceConfiguration.java @@ -338,6 +338,12 @@ public class PreferenceConfiguration { config.fps = Integer.parseInt(prefs.getString(FPS_PREF_STRING, PreferenceConfiguration.DEFAULT_FPS)); } + if (!prefs.contains(SMALL_ICONS_PREF_STRING)) { + // We need to write small icon mode's default to disk for the settings page to display + // the current state of the option properly + prefs.edit().putBoolean(SMALL_ICONS_PREF_STRING, getDefaultSmallMode(context)).apply(); + } + // This must happen after the preferences migration to ensure the preferences are populated config.bitrate = prefs.getInt(BITRATE_PREF_STRING, prefs.getInt(BITRATE_PREF_OLD_STRING, 0) * 1000); if (config.bitrate == 0) { diff --git a/app/src/main/java/com/limelight/preferences/StreamSettings.java b/app/src/main/java/com/limelight/preferences/StreamSettings.java index 755707b6..627de6ed 100644 --- a/app/src/main/java/com/limelight/preferences/StreamSettings.java +++ b/app/src/main/java/com/limelight/preferences/StreamSettings.java @@ -56,8 +56,7 @@ public class StreamSettings extends Activity { // Check for changes that require a UI reload to take effect PreferenceConfiguration newPrefs = PreferenceConfiguration.readPreferences(this); - if (newPrefs.smallIconMode != previousPrefs.smallIconMode || - !newPrefs.language.equals(previousPrefs.language)) { + if (!newPrefs.language.equals(previousPrefs.language)) { // Restart the PC view to apply UI changes Intent intent = new Intent(this, PcView.class); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK | Intent.FLAG_ACTIVITY_NEW_TASK); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f2e8df00..34768c11 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -175,8 +175,8 @@ Allows the stream to be viewed (but not controlled) while multitasking Language Language to use for Moonlight - Use small icons - Use small icons in grid items to allow more items on screen + Use small box art + Smaller box art in the app grid allows more apps to be visible on screen Host Settings Optimize game settings