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

Commit 81b82ac8 authored by Moez Bhatti's avatar Moez Bhatti
Browse files

#1176 - Fix invisible navigation bar icons in light theme for some devices

parent 3fbf6dfa
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -88,6 +88,9 @@ abstract class QkThemedActivity : QkActivity() {
            else -> View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR or View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
        }

        // Some devices don't let you modify android.R.attr.navigationBarColor
        window.navigationBarColor = resolveThemeColor(android.R.attr.windowBackground)

        // Set the color for the overflow and navigation icon
        val textTertiary = resolveThemeColor(android.R.attr.textColorTertiary)
        toolbar?.overflowIcon = toolbar?.overflowIcon?.apply { setTint(textTertiary) }