|
@@ -9,7 +9,6 @@ import android.support.v7.app.AppCompatActivity
|
|
|
import android.os.Bundle
|
|
|
import android.support.constraint.ConstraintSet
|
|
|
import android.view.*
|
|
|
-import android.widget.PopupWindow
|
|
|
import android.widget.Toast
|
|
|
import com.kdanmobile.kmpdfkit.pdfcommon.KMPDFReaderView
|
|
|
import com.kdanmobile.reader.Utils.applyConstraintSet
|
|
@@ -266,7 +265,7 @@ open class ReaderActivity : AppCompatActivity() {
|
|
|
iv_readerActivity_underline.apply {
|
|
|
setOnClickListener { viewModel.onClickUnderlineBtn() }
|
|
|
setOnLongClickListener { btn ->
|
|
|
- viewModel.onLongClickUnderlinBtn()
|
|
|
+ viewModel.onLongClickUnderlineBtn()
|
|
|
val context = this@ReaderActivity
|
|
|
AnnotationPropertySettingWindow(context, true).also { window ->
|
|
|
viewModel.underLineAttributeLiveData.value?.let { attr ->
|