remove option clean invalid downloads (#341)

This commit is contained in:
Cuong-Tran 2024-09-07 20:50:59 +07:00
parent 70dc292088
commit 03f42ac2cf
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2
3 changed files with 0 additions and 36 deletions

View file

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

View file

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

View file

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