mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Only apply downloaded only to chapter lists in library
This commit is contained in:
		| @@ -397,7 +397,7 @@ class ChaptersPresenter( | ||||
|      * Whether downloaded only mode is enabled. | ||||
|      */ | ||||
|     fun forceDownloaded(): Boolean { | ||||
|         return preferences.downloadedOnly().get() | ||||
|         return manga.favorite && preferences.downloadedOnly().get() | ||||
|     } | ||||
|  | ||||
|     /** | ||||
|   | ||||
| @@ -14,6 +14,7 @@ import eu.kanade.tachiyomi.util.preference.iconTint | ||||
| import eu.kanade.tachiyomi.util.preference.onClick | ||||
| import eu.kanade.tachiyomi.util.preference.preference | ||||
| import eu.kanade.tachiyomi.util.preference.preferenceCategory | ||||
| import eu.kanade.tachiyomi.util.preference.summaryRes | ||||
| import eu.kanade.tachiyomi.util.preference.switchPreference | ||||
| import eu.kanade.tachiyomi.util.preference.titleRes | ||||
| import eu.kanade.tachiyomi.util.system.getResourceColor | ||||
| @@ -30,6 +31,7 @@ class MoreController : SettingsController(), RootController { | ||||
|         switchPreference { | ||||
|             key = Keys.downloadedOnly | ||||
|             titleRes = R.string.label_downloaded_only | ||||
|             summaryRes = R.string.downloaded_only_summary | ||||
|             iconRes = R.drawable.ic_cloud_off_24dp | ||||
|             iconTint = tintColor | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user