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

This commit is contained in:
mcarare 2020-12-02 14:33:54 +02:00 committed by Mihai Adrian Carare
parent b4a81c2219
commit 0a77f4bccf

View File

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