diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/views/PatternTab.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/views/PatternTab.kt
index 5aada4281..b2a6e0239 100644
--- a/app/src/main/kotlin/com/simplemobiletools/gallery/views/PatternTab.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/gallery/views/PatternTab.kt
@@ -8,6 +8,7 @@ import com.andrognito.patternlockview.PatternLockView
import com.andrognito.patternlockview.listener.PatternLockViewListener
import com.andrognito.patternlockview.utils.PatternLockUtils
import com.simplemobiletools.commons.extensions.toast
+import com.simplemobiletools.commons.extensions.updateTextColors
import com.simplemobiletools.gallery.R
import com.simplemobiletools.gallery.extensions.config
import kotlinx.android.synthetic.main.tab_pattern.view.*
@@ -20,7 +21,7 @@ class PatternTab(context: Context, attrs: AttributeSet) : RelativeLayout(context
override fun onFinishInflate() {
super.onFinishInflate()
val textColor = context.config.textColor
- pattern_lock_title.setTextColor(textColor)
+ context.updateTextColors(pattern_lock_holder)
pattern_lock_view.correctStateColor = context.config.primaryColor
pattern_lock_view.normalStateColor = textColor
pattern_lock_view.addPatternLockListener(object : PatternLockViewListener {
diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/views/PinTab.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/views/PinTab.kt
index 0af058ebc..d7ab33618 100644
--- a/app/src/main/kotlin/com/simplemobiletools/gallery/views/PinTab.kt
+++ b/app/src/main/kotlin/com/simplemobiletools/gallery/views/PinTab.kt
@@ -3,9 +3,12 @@ package com.simplemobiletools.gallery.views
import android.content.Context
import android.util.AttributeSet
import android.widget.RelativeLayout
+import com.simplemobiletools.commons.extensions.updateTextColors
+import kotlinx.android.synthetic.main.tab_pin.view.*
class PinTab(context: Context, attrs: AttributeSet) : RelativeLayout(context, attrs) {
override fun onFinishInflate() {
super.onFinishInflate()
+ context.updateTextColors(pin_lock_holder)
}
}
diff --git a/app/src/main/res/layout/tab_pin.xml b/app/src/main/res/layout/tab_pin.xml
index 33f0f93a1..91f41ae59 100644
--- a/app/src/main/res/layout/tab_pin.xml
+++ b/app/src/main/res/layout/tab_pin.xml
@@ -5,4 +5,25 @@
android:layout_width="match_parent"
android:layout_height="wrap_content">
+
+
+
+