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

Commit 3a4293c0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "[kairos] fix connectivity icon tint" into main

parents 96e46d0c ad08c43f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -238,15 +238,16 @@ object MobileIconBinderKairos {
                    Pair(background != null, colors)
                }
                .observe { (hasBackground, colors) ->
                    // Tint will invert when this bit changes
                    val tint = ColorStateList.valueOf(colors.tint)
                    val contrast = ColorStateList.valueOf(colors.contrast)
                    iconView.imageTintList = tint
                    // Tint will invert when this bit changes
                    if (hasBackground) {
                        networkTypeContainer.backgroundTintList = tint
                        networkTypeView.imageTintList = ColorStateList.valueOf(colors.contrast)
                        networkTypeView.imageTintList = contrast
                    } else {
                        networkTypeView.imageTintList = tint
                    }

                    roamingView.imageTintList = tint
                    activityIn.imageTintList = tint
                    activityOut.imageTintList = tint