pull/1649/head
kunfei 3 years ago
parent 396522dd4b
commit 428b05c739
  1. 5
      app/src/main/java/io/legado/app/lib/theme/view/ThemeEditText.kt

@ -9,7 +9,10 @@ import io.legado.app.utils.applyTint
/**
* @author Aidan Follestad (afollestad)
*/
class ThemeEditText(context: Context, attrs: AttributeSet) : AppCompatEditText(context, attrs) {
class ThemeEditText @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null
) : AppCompatEditText(context, attrs) {
init {
if (!isInEditMode) {

Loading…
Cancel
Save