From f7c08e995742da2ca37416c1a80a57d0ace2e975 Mon Sep 17 00:00:00 2001 From: Jays2Kings Date: Sat, 3 Jul 2021 03:30:39 -0400 Subject: [PATCH] fixing documentation on themes enum vars --- .../main/java/eu/kanade/tachiyomi/util/system/Themes.kt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/system/Themes.kt b/app/src/main/java/eu/kanade/tachiyomi/util/system/Themes.kt index c720eeb4d9..00efaf949a 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/system/Themes.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/system/Themes.kt @@ -221,14 +221,14 @@ enum class Themes(@StyleRes val styleRes: Int, val nightMode: Int, @StringRes va else -> Color.parseColor("#C2FFFFFF") } - /** Complies with tabBarIconColor */ + /** Complies with tabBarIconColor or colorAccent */ @ColorInt val lightActiveTab: Int = when (styleRes) { R.style.Theme_Tachiyomi_AllBlue -> lightAppBarText else -> lightAccent } - /** Complies with tabBarIconColor (probably night) */ + /** Complies with tabBarIconColor or colorAccent (probably night) */ @ColorInt val darkActiveTab: Int = when (styleRes) { R.style.Theme_Tachiyomi_AllBlue -> darkAppBarText @@ -240,10 +240,15 @@ enum class Themes(@StyleRes val styleRes: Int, val nightMode: Int, @StringRes va @ColorInt val secondaryText: Int, @ColorInt val colorBackground: Int, @ColorInt val colorAccent: Int, + /** Complies with colorSecondary */ @ColorInt val appBar: Int, + /** Complies with actionBarTintColor */ @ColorInt val appBarText: Int, + /** Complies with colorPrimaryVariant */ @ColorInt val bottomBar: Int, + /** Complies with tabBarIconInactive */ @ColorInt val inactiveTab: Int, + /** Complies with tabBarIconColor */ @ColorInt val activeTab: Int, ) }