Add categories to more

(cherry picked from commit e06a488af8ade7cc02dd2bf7b9bbd5a7e7281391)

# Conflicts:
#	app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt
This commit is contained in:
arkon 2020-06-17 09:07:20 -04:00 committed by Jobobby04
parent 3a494c9a58
commit 09dd27a18e
2 changed files with 11 additions and 2 deletions

View File

@ -11,6 +11,7 @@ import eu.kanade.tachiyomi.data.preference.PreferenceKeys as Keys
import eu.kanade.tachiyomi.ui.base.controller.NoToolbarElevationController
import eu.kanade.tachiyomi.ui.base.controller.RootController
import eu.kanade.tachiyomi.ui.base.controller.withFadeTransaction
import eu.kanade.tachiyomi.ui.category.CategoryController
import eu.kanade.tachiyomi.ui.download.DownloadController
import eu.kanade.tachiyomi.ui.setting.SettingsController
import eu.kanade.tachiyomi.ui.setting.SettingsMainController
@ -67,6 +68,14 @@ class MoreController :
router.pushController(DownloadController().withFadeTransaction())
}
}
preference {
titleRes = R.string.label_categories
iconRes = R.drawable.ic_label_24dp
iconTint = tintColor
onClick {
router.pushController(CategoryController().withFadeTransaction())
}
}
// SY -->
if (preferences.eh_isHentaiEnabled().get()) {
preference {

View File

@ -638,8 +638,8 @@
<string name="information_no_downloads">No downloads</string>
<string name="information_no_recent">No recent updates</string>
<string name="information_no_recent_manga">Nothing read recently</string>
<string name="information_empty_library">Your library is empty, add series to your library from Browse.</string>
<string name="information_empty_category">You have no categories. Hit the plus button to create one for organizing your library.</string>
<string name="information_empty_library">Your library is empty. Add series to your library from Browse.</string>
<string name="information_empty_category">You have no categories. Tap the plus button to create one for organizing your library.</string>
<string name="information_cloudflare_bypass_failure">Failed to bypass Cloudflare</string>
<string name="information_webview_required">WebView is required for Tachiyomi</string>
<string name="information_webview_outdated">Please update the WebView app for better compatibility</string>