music: fix with hidden defaults
This commit is contained in:
parent
1193ef0bb9
commit
eaba11fa44
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ class MusicSettingsImpl @Inject constructor(@ApplicationContext private val cont
|
|||
get() = sharedPreferences.getBoolean(getString(R.string.set_key_exclude_non_music), true)
|
||||
|
||||
override val withHidden: Boolean
|
||||
get() = sharedPreferences.getBoolean(getString(R.string.set_key_with_hidden), true)
|
||||
get() = sharedPreferences.getBoolean(getString(R.string.set_key_with_hidden), false)
|
||||
|
||||
override val shouldBeObserving: Boolean
|
||||
get() = sharedPreferences.getBoolean(getString(R.string.set_key_observing), false)
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
app:title="@string/set_exclude_non_music" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:defaultValue="true"
|
||||
app:defaultValue="false"
|
||||
app:key="@string/set_key_with_hidden"
|
||||
app:summary="@string/set_with_hidden_desc"
|
||||
app:title="@string/set_with_hidden" />
|
||||
|
|
Loading…
Reference in a new issue