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

Commit 3bfa71c7 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Set background color of more actions pill" into main

parents 52c11307 4c6a5d37
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -664,6 +664,8 @@ class HandleMenu(
        }

        private fun bindMoreActionsPill(style: MenuStyle) {
            moreActionsPill.background.setTint(style.backgroundColor)

            arrayOf(
                screenshotBtn to SHOULD_SHOW_SCREENSHOT_BUTTON,
                newWindowBtn to shouldShowNewWindowButton,
@@ -674,7 +676,6 @@ class HandleMenu(
                val shouldShow = it.second
                button.apply {
                    isGone = !shouldShow
                    background.setTint(style.backgroundColor)
                    setTextColor(style.textColor)
                    compoundDrawableTintList = ColorStateList.valueOf(style.textColor)
                }