diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index bc92ac136..8572589cd 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -4,6 +4,7 @@ package="io.legado.app"> + diff --git a/app/src/main/java/io/legado/app/ui/widget/page/ContentSelectActionCallback.kt b/app/src/main/java/io/legado/app/ui/widget/page/ContentSelectActionCallback.kt index e8e8af8d4..76a4b669a 100644 --- a/app/src/main/java/io/legado/app/ui/widget/page/ContentSelectActionCallback.kt +++ b/app/src/main/java/io/legado/app/ui/widget/page/ContentSelectActionCallback.kt @@ -3,12 +3,13 @@ package io.legado.app.ui.widget.page import android.view.ActionMode import android.view.Menu import android.view.MenuItem +import android.widget.TextView import io.legado.app.R import io.legado.app.constant.Bus import io.legado.app.utils.postEvent -class ContentSelectActionCallback(private val textView: ContentTextView) : ActionMode.Callback { +class ContentSelectActionCallback(private val textView: TextView) : ActionMode.Callback { override fun onActionItemClicked(mode: ActionMode?, item: MenuItem?): Boolean { when (item?.itemId) { diff --git a/app/src/main/java/io/legado/app/ui/widget/page/ContentTextView.kt b/app/src/main/java/io/legado/app/ui/widget/page/ContentTextView.kt index 383425a7a..3a73c3227 100644 --- a/app/src/main/java/io/legado/app/ui/widget/page/ContentTextView.kt +++ b/app/src/main/java/io/legado/app/ui/widget/page/ContentTextView.kt @@ -241,4 +241,5 @@ class ContentTextView : AppCompatTextView { } } } + }