Fix: Background Color of some surfaces on old devices (Closes #73)

This commit is contained in:
LooKeR
2021-10-29 16:41:51 +05:30
parent 07d7334e76
commit 318a582b02
3 changed files with 2 additions and 3 deletions

View File

@ -264,7 +264,6 @@ class TabsFragment : ScreenFragment() {
this.adapter = adapter
addItemDecoration(DividerItemDecoration(context, adapter::configureDivider))
background = context.getDrawableCompat(R.drawable.background_border)
backgroundTintList = context.getColorFromAttr(R.attr.colorSurface)
elevation = resources.sizeScaled(4).toFloat()
content.addView(this)
val margins = resources.sizeScaled(8)