feat: 优化代码

pull/103/head
kunfei 5 years ago
parent bb4d156438
commit 36bd755b0b
  1. 4
      app/src/main/java/io/legado/app/lib/theme/view/ATESeekBar.kt

@ -12,6 +12,8 @@ import io.legado.app.lib.theme.accentColor
class ATESeekBar(context: Context, attrs: AttributeSet) : AppCompatSeekBar(context, attrs) {
init {
ATH.setTint(this, context.accentColor)
if (!isInEditMode) {
ATH.setTint(this, context.accentColor)
}
}
}

Loading…
Cancel
Save