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

Commit ad9463ca authored by Beth Thibodeau's avatar Beth Thibodeau
Browse files

Reinflate settings button on dark mode change

Fixes: 166670249
Test: manual, toggle dark mode and observe correct color
Change-Id: Ifc7e598f686d3825417d8eb116da669aaadccf6c
parent 6e59ac63
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -143,6 +143,11 @@ class MediaCarouselController @Inject constructor(
            if (newConfig == null) return
            isRtl = newConfig.layoutDirection == View.LAYOUT_DIRECTION_RTL
        }

        override fun onUiModeChanged() {
            // Only settings button needs to update for dark theme
            inflateSettingsButton()
        }
    }

    init {