music: fix with hidden defaults

This commit is contained in:
Alexander Capehart 2025-03-17 08:48:24 -06:00
parent 1193ef0bb9
commit eaba11fa44
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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" />