remove option clean invalid downloads (#341)
This commit is contained in:
parent
70dc292088
commit
03f42ac2cf
3 changed files with 0 additions and 36 deletions
|
|
@ -113,20 +113,6 @@ fun BrowseSourceToolbar(
|
|||
),
|
||||
)
|
||||
}
|
||||
// KMK -->
|
||||
// add(
|
||||
// AppBar.OverflowAction(
|
||||
// title = stringResource(MR.strings.pref_invalidate_download_cache),
|
||||
// onClick = { },
|
||||
// ),
|
||||
// )
|
||||
// add(
|
||||
// AppBar.OverflowAction(
|
||||
// title = stringResource(MR.strings.pref_clean_invalid_downloads),
|
||||
// onClick = { },
|
||||
// ),
|
||||
// )
|
||||
// KMK <--
|
||||
}
|
||||
// SY <--
|
||||
if (isConfigurableSource) {
|
||||
|
|
|
|||
|
|
@ -247,18 +247,6 @@ fun MangaToolbar(
|
|||
),
|
||||
)
|
||||
}
|
||||
// add(
|
||||
// AppBar.OverflowAction(
|
||||
// title = stringResource(MR.strings.pref_invalidate_download_cache),
|
||||
// onClick = { },
|
||||
// ),
|
||||
// )
|
||||
// add(
|
||||
// AppBar.OverflowAction(
|
||||
// title = stringResource(MR.strings.pref_clean_invalid_downloads),
|
||||
// onClick = { },
|
||||
// ),
|
||||
// )
|
||||
// KMK <--
|
||||
}
|
||||
.build(),
|
||||
|
|
|
|||
|
|
@ -221,16 +221,6 @@ object SettingsAdvancedScreen : SearchableSettings {
|
|||
context.toast(MR.strings.download_cache_invalidated)
|
||||
},
|
||||
),
|
||||
// KMK -->
|
||||
Preference.PreferenceItem.TextPreference(
|
||||
title = stringResource(KMR.strings.pref_clean_invalid_downloads),
|
||||
subtitle = stringResource(KMR.strings.pref_clean_invalid_downloads_summary),
|
||||
onClick = {
|
||||
Injekt.get<DownloadCache>().invalidateCache()
|
||||
context.toast(KMR.strings.invalid_downloads_cleaned)
|
||||
},
|
||||
),
|
||||
// KMK <--
|
||||
Preference.PreferenceItem.TextPreference(
|
||||
title = stringResource(MR.strings.pref_clear_database),
|
||||
subtitle = stringResource(MR.strings.pref_clear_database_summary),
|
||||
|
|
|
|||
Loading…
Reference in a new issue