Merge pull request #6 from craftyguy/hide_from_other
make 'hide from other' enabled by default
This commit is contained in:
commit
7cd3d5122a
|
@ -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));
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue