mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
Merge pull request #11448 from t895/nav-fix-api-26
Android: Fix navigation bar buttons appearing invisible on API 26
This commit is contained in:
commit
59b276ea87
@ -81,7 +81,11 @@ object ThemeHelper {
|
||||
|
||||
private fun setLightModeSystemBars(windowController: WindowInsetsControllerCompat) {
|
||||
windowController.isAppearanceLightStatusBars = true
|
||||
windowController.isAppearanceLightNavigationBars = true
|
||||
|
||||
// Fix for an API 26 specific bug where the navigation bar buttons would appear invisible
|
||||
if (Build.VERSION.SDK_INT != Build.VERSION_CODES.O) {
|
||||
windowController.isAppearanceLightNavigationBars = true
|
||||
}
|
||||
}
|
||||
|
||||
private fun setDarkModeSystemBars(windowController: WindowInsetsControllerCompat) {
|
||||
|
Loading…
Reference in New Issue
Block a user