Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 64ea58f8 authored by Hao Dong's avatar Hao Dong Committed by Android (Google) Code Review
Browse files

Merge "Fix indicator text color" into main

parents 5fe91634 dba7f923
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -94,8 +94,16 @@ object BiometricViewBinder {

        val textColorError =
            view.resources.getColor(R.color.biometric_dialog_error, view.context.theme)

        val attributes =
            view.context.obtainStyledAttributes(
                R.style.TextAppearance_AuthCredential_Indicator,
                intArrayOf(android.R.attr.textColor)
            )
        val textColorHint =
            view.resources.getColor(R.color.biometric_dialog_gray, view.context.theme)
            if (constraintBp()) attributes.getColor(0, 0)
            else view.resources.getColor(R.color.biometric_dialog_gray, view.context.theme)
        attributes.recycle()

        val logoView = view.requireViewById<ImageView>(R.id.logo)
        val logoDescriptionView = view.requireViewById<TextView>(R.id.logo_description)