use proper color at breadcrumbs

This commit is contained in:
tibbi 2022-04-11 10:39:41 +02:00
parent 00a03ee29f
commit e3376e4f56

View file

@ -181,7 +181,7 @@ class Breadcrumbs(context: Context, attrs: AttributeSet) : HorizontalScrollView(
val firstItemBgColor = if (isShownInDialog && context.baseConfig.isUsingSystemTheme) {
resources.getColor(R.color.you_dialog_background_color, context.theme)
} else {
context.baseConfig.backgroundColor
context.getProperBackgroundColor()
}
inflater.inflate(R.layout.item_breadcrumb_first, itemsLayout, false).apply {