feat: 优化代码

pull/149/head
kunfei 5 years ago
parent 5d7716ecef
commit cb568cbeb6
  1. 2
      app/src/main/java/io/legado/app/ui/widget/TitleBar.kt

@ -142,7 +142,7 @@ class TitleBar(context: Context, attrs: AttributeSet?) : AppBarLayout(context, a
}
backgroundColor = context.primaryColor
// targetElevation = context.elevation
stateListAnimator = null
elevation = if (AppConfig.elevation < 0) {
context.elevation

Loading…
Cancel
Save