music: update file tree cache setting position
This commit is contained in:
@@ -136,7 +136,7 @@ class MusicSettingsImpl @Inject constructor(@ApplicationContext private val cont
|
||||
get() = sharedPreferences.getBoolean(getString(R.string.set_key_auto_sort_names), true)
|
||||
|
||||
override val useFileTreeCache: Boolean
|
||||
get() = sharedPreferences.getBoolean(getString(R.string.set_key_fs_cache), true)
|
||||
get() = sharedPreferences.getBoolean(getString(R.string.set_key_fs_cache), false)
|
||||
|
||||
override fun onSettingChanged(key: String, listener: MusicSettings.Listener) {
|
||||
// TODO: Differentiate "hard reloads" (Need the cache) and "Soft reloads"
|
||||
|
||||
@@ -33,16 +33,18 @@
|
||||
app:summary="@string/set_locations_desc"
|
||||
app:title="@string/set_locations" />
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:key="@string/set_key_fs_cache"
|
||||
app:summary="@string/set_fs_cache_desc"
|
||||
app:title="@string/set_fs_cache" />
|
||||
|
||||
<org.oxycblt.auxio.settings.ui.WrappedDialogPreference
|
||||
app:key="@string/set_key_excluded_dirs"
|
||||
app:summary="@string/set_excluded_locations_desc"
|
||||
app:title="@string/set_excluded_locations" />
|
||||
|
||||
|
||||
<SwitchPreferenceCompat
|
||||
app:key="@string/set_key_fs_cache"
|
||||
app:summary="@string/set_fs_cache_desc"
|
||||
app:title="@string/set_fs_cache"
|
||||
app:defaultValue="false" />
|
||||
|
||||
<Preference
|
||||
app:key="@string/set_key_reindex"
|
||||
app:summary="@string/set_reindex_desc"
|
||||
|
||||
Reference in New Issue
Block a user