aboutsummaryrefslogtreecommitdiff
path: root/kpref-activity
diff options
context:
space:
mode:
Diffstat (limited to 'kpref-activity')
-rw-r--r--kpref-activity/build.gradle1
-rw-r--r--kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefItemCore.kt2
2 files changed, 1 insertions, 2 deletions
diff --git a/kpref-activity/build.gradle b/kpref-activity/build.gradle
index fd1c992..8375e91 100644
--- a/kpref-activity/build.gradle
+++ b/kpref-activity/build.gradle
@@ -5,7 +5,6 @@ ext.kauSubModuleResourcePrefix = "kau_pref_"
apply from: '../android-lib.gradle'
dependencies {
-
compile project(':core-ui')
compile project(':adapter')
compile project(':colorpicker')
diff --git a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefItemCore.kt b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefItemCore.kt
index bd245af..96f8903 100644
--- a/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefItemCore.kt
+++ b/kpref-activity/src/main/kotlin/ca/allanwang/kau/kpref/activity/items/KPrefItemCore.kt
@@ -49,7 +49,7 @@ abstract class KPrefItemCore(val core: CoreContract) : AbstractItem<KPrefItemCor
val textColor = core.globalOptions.textColor?.invoke()
if (textColor != null) {
title.setTextColor(textColor)
- desc?.setTextColor(textColor)
+ desc?.setTextColor(textColor.adjustAlpha(0.65f))
}
val accentColor = core.globalOptions.accentColor?.invoke()
if (accentColor != null && buildIsLollipopAndUp) {