mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Add clarification for category exclusion (closes #4777)
This commit is contained in:
		@@ -78,7 +78,7 @@ class MoreController :
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            preference {
 | 
			
		||||
                titleRes = R.string.label_categories
 | 
			
		||||
                titleRes = R.string.categories
 | 
			
		||||
                iconRes = R.drawable.ic_label_24dp
 | 
			
		||||
                iconTint = tintColor
 | 
			
		||||
                onClick {
 | 
			
		||||
 
 | 
			
		||||
@@ -100,7 +100,7 @@ class SettingsDownloadController : SettingsController() {
 | 
			
		||||
        val categories = listOf(Category.createDefault()) + dbCategories
 | 
			
		||||
 | 
			
		||||
        preferenceCategory {
 | 
			
		||||
            titleRes = R.string.pref_download_new
 | 
			
		||||
            titleRes = R.string.pref_category_auto_download
 | 
			
		||||
 | 
			
		||||
            switchPreference {
 | 
			
		||||
                key = Keys.downloadNew
 | 
			
		||||
@@ -109,7 +109,7 @@ class SettingsDownloadController : SettingsController() {
 | 
			
		||||
            }
 | 
			
		||||
            preference {
 | 
			
		||||
                key = Keys.downloadNewCategories
 | 
			
		||||
                titleRes = R.string.pref_download_new_categories
 | 
			
		||||
                titleRes = R.string.categories
 | 
			
		||||
                onClick {
 | 
			
		||||
                    DownloadCategoriesDialog().showDialog(router)
 | 
			
		||||
                }
 | 
			
		||||
@@ -241,7 +241,8 @@ class SettingsDownloadController : SettingsController() {
 | 
			
		||||
                .toIntArray()
 | 
			
		||||
 | 
			
		||||
            return MaterialDialog(activity!!)
 | 
			
		||||
                .title(R.string.pref_download_new_categories)
 | 
			
		||||
                .title(R.string.categories)
 | 
			
		||||
                .message(R.string.pref_download_new_categories_details)
 | 
			
		||||
                .listItemsQuadStateMultiChoice(
 | 
			
		||||
                    items = items,
 | 
			
		||||
                    initialSelected = preselected
 | 
			
		||||
 
 | 
			
		||||
@@ -83,7 +83,7 @@ class SettingsLibraryController : SettingsController() {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        preferenceCategory {
 | 
			
		||||
            titleRes = R.string.pref_category_library_categories
 | 
			
		||||
            titleRes = R.string.categories
 | 
			
		||||
 | 
			
		||||
            preference {
 | 
			
		||||
                key = "pref_action_edit_categories"
 | 
			
		||||
@@ -171,7 +171,7 @@ class SettingsLibraryController : SettingsController() {
 | 
			
		||||
            }
 | 
			
		||||
            preference {
 | 
			
		||||
                key = Keys.libraryUpdateCategories
 | 
			
		||||
                titleRes = R.string.pref_library_update_categories
 | 
			
		||||
                titleRes = R.string.categories
 | 
			
		||||
                onClick {
 | 
			
		||||
                    LibraryGlobalUpdateCategoriesDialog().showDialog(router)
 | 
			
		||||
                }
 | 
			
		||||
@@ -312,7 +312,8 @@ class SettingsLibraryController : SettingsController() {
 | 
			
		||||
                .toIntArray()
 | 
			
		||||
 | 
			
		||||
            return MaterialDialog(activity!!)
 | 
			
		||||
                .title(R.string.pref_library_update_categories)
 | 
			
		||||
                .title(R.string.categories)
 | 
			
		||||
                .message(R.string.pref_library_update_categories_details)
 | 
			
		||||
                .listItemsQuadStateMultiChoice(
 | 
			
		||||
                    items = items,
 | 
			
		||||
                    initialSelected = preselected
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user