Show feedback message when downloads index manually invalidated
Closes #9768 (cherry picked from commit f3e9d5f346d5151f373f7dde2da6d484e1f7ca57)
This commit is contained in:
+4
-1
@@ -283,7 +283,10 @@ object SettingsAdvancedScreen : SearchableSettings {
|
||||
Preference.PreferenceItem.TextPreference(
|
||||
title = stringResource(R.string.pref_invalidate_download_cache),
|
||||
subtitle = stringResource(R.string.pref_invalidate_download_cache_summary),
|
||||
onClick = { Injekt.get<DownloadCache>().invalidateCache() },
|
||||
onClick = {
|
||||
Injekt.get<DownloadCache>().invalidateCache()
|
||||
context.toast(R.string.download_cache_invalidated)
|
||||
},
|
||||
),
|
||||
Preference.PreferenceItem.TextPreference(
|
||||
title = stringResource(R.string.pref_clear_database),
|
||||
|
||||
Reference in New Issue
Block a user