mirror of
https://github.com/mihonapp/mihon.git
synced 2025-07-16 04:33:18 +02:00
Adjust global update preference wording and visibility
This commit is contained in:
@ -202,8 +202,6 @@ class SettingsLibraryController : SettingsController() {
|
||||
entryValues = arrayOf(MANGA_FULLY_READ, MANGA_ONGOING)
|
||||
defaultValue = preferences.libraryUpdateMangaRestriction().defaultValue
|
||||
|
||||
visibleIfGlobalUpdateEnabled()
|
||||
|
||||
fun updateSummary() {
|
||||
val restrictions = preferences.libraryUpdateMangaRestriction().get()
|
||||
.sorted()
|
||||
@ -231,8 +229,6 @@ class SettingsLibraryController : SettingsController() {
|
||||
key = Keys.libraryUpdateCategories
|
||||
titleRes = R.string.categories
|
||||
|
||||
visibleIfGlobalUpdateEnabled()
|
||||
|
||||
onClick {
|
||||
LibraryGlobalUpdateCategoriesDialog().showDialog(router)
|
||||
}
|
||||
@ -275,7 +271,6 @@ class SettingsLibraryController : SettingsController() {
|
||||
titleRes = R.string.pref_library_update_refresh_metadata
|
||||
summaryRes = R.string.pref_library_update_refresh_metadata_summary
|
||||
defaultValue = false
|
||||
visibleIfGlobalUpdateEnabled()
|
||||
}
|
||||
if (trackManager.hasLoggedServices()) {
|
||||
switchPreference {
|
||||
@ -283,7 +278,6 @@ class SettingsLibraryController : SettingsController() {
|
||||
titleRes = R.string.pref_library_update_refresh_trackers
|
||||
summaryRes = R.string.pref_library_update_refresh_trackers_summary
|
||||
defaultValue = false
|
||||
visibleIfGlobalUpdateEnabled()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user