For #16775: Fallback to light mode drawable when ui mode is not resolved

upstream-sync
mcarare 4 years ago committed by Mihai Adrian Carare
parent b4a81c2219
commit 0a77f4bccf

@ -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 =

Loading…
Cancel
Save