From 9c15fe332166a8825dc9c0b43523d0a282f209dc Mon Sep 17 00:00:00 2001 From: mcarare Date: Wed, 2 Dec 2020 14:33:54 +0200 Subject: [PATCH] [fenix] For https://github.com/mozilla-mobile/fenix/issues/16775: Fallback to light mode drawable when ui mode is not resolved --- .../org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt b/app/src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt index ea8f9bb2d7..6416797f94 100644 --- a/app/src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt +++ b/app/src/main/java/org/mozilla/fenix/components/toolbar/ToolbarIntegration.kt @@ -111,7 +111,7 @@ class DefaultToolbarIntegration( Configuration.UI_MODE_NIGHT_YES -> { AppCompatResources.getDrawable(context, R.drawable.shield_dark) } - else -> null + else -> AppCompatResources.getDrawable(context, R.drawable.shield_light) } toolbar.display.indicators =