Fixed theme preview not showing black theme in toolbar

This commit is contained in:
Jays2Kings 2021-07-04 17:08:56 -04:00
parent acd6d5cd90
commit 183f984cc5

View File

@ -224,6 +224,7 @@ class ThemePreference @JvmOverloads constructor(context: Context, attrs: Attribu
binding.themeLayout.setBackgroundColor(Color.BLACK)
if (!ThemeUtil.isColoredTheme(item.theme)) {
binding.themeBottomBar.setBackgroundColor(Color.BLACK)
binding.themeToolbar.setBackgroundColor(Color.BLACK)
}
}
}