Merge pull request #6 from craftyguy/hide_from_other

make 'hide from other' enabled by default
This commit is contained in:
Andrew Rabert 2017-03-04 09:43:14 -05:00 committed by GitHub
commit 7cd3d5122a
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ public class SettingsFragment extends PreferenceCompatFragment implements Shared
update(); update();
if (Constants.PREFERENCES_KEY_HIDE_MEDIA.equals(key)) { if (Constants.PREFERENCES_KEY_HIDE_MEDIA.equals(key)) {
setHideMedia(sharedPreferences.getBoolean(key, false)); setHideMedia(sharedPreferences.getBoolean(key, true));
} }
else if (Constants.PREFERENCES_KEY_MEDIA_BUTTONS.equals(key)) { else if (Constants.PREFERENCES_KEY_MEDIA_BUTTONS.equals(key)) {
setMediaButtonsEnabled(sharedPreferences.getBoolean(key, true)); setMediaButtonsEnabled(sharedPreferences.getBoolean(key, true));

View File

@ -74,7 +74,7 @@
android:title="@string/settings.hide_media_title" android:title="@string/settings.hide_media_title"
android:summary="@string/settings.hide_media_summary" android:summary="@string/settings.hide_media_summary"
android:key="hideMedia" android:key="hideMedia"
android:defaultValue="false"/> android:defaultValue="true"/>
<CheckBoxPreference <CheckBoxPreference
android:title="@string/settings.screen_lit_title" android:title="@string/settings.screen_lit_title"