pull/1319/head
gedoor 3 years ago
parent b53f4eafa3
commit 141e233f14
  1. 7
      app/src/main/java/io/legado/app/ui/book/read/config/ReadStyleDialog.kt

@ -19,10 +19,7 @@ import io.legado.app.lib.theme.getPrimaryTextColor
import io.legado.app.model.ReadBook
import io.legado.app.ui.book.read.ReadBookActivity
import io.legado.app.ui.widget.font.FontSelectDialog
import io.legado.app.utils.ColorUtils
import io.legado.app.utils.dp
import io.legado.app.utils.getIndexById
import io.legado.app.utils.postEvent
import io.legado.app.utils.*
import io.legado.app.utils.viewbindingdelegate.viewBinding
import splitties.views.onLongClick
@ -113,7 +110,7 @@ class ReadStyleDialog : BaseDialogFragment(), FontSelectDialog.CallBack {
postEvent(EventBus.UP_CONFIG, true)
}
tvTextFont.setOnClickListener {
FontSelectDialog().show(childFragmentManager, "fontSelectDialog")
childFragmentManager.showDialog<FontSelectDialog>()
}
tvTextIndent.setOnClickListener {
selector(

Loading…
Cancel
Save