pull/1319/head
gedoor 3 years ago
parent 4a55f0c52e
commit e8ac700c6e
  1. 5
      app/src/main/java/io/legado/app/ui/about/AppLogDialog.kt

@ -15,6 +15,7 @@ import io.legado.app.constant.AppLog
import io.legado.app.databinding.DialogRecyclerViewBinding
import io.legado.app.databinding.ItemAppLogBinding
import io.legado.app.lib.theme.primaryColor
import io.legado.app.ui.widget.dialog.TextDialog
import io.legado.app.utils.LogUtils
import io.legado.app.utils.viewbindingdelegate.viewBinding
import io.legado.app.utils.windowSize
@ -80,7 +81,9 @@ class AppLogDialog : BaseDialogFragment() {
override fun registerListener(holder: ItemViewHolder, binding: ItemAppLogBinding) {
binding.root.onClick {
getItem(holder.layoutPosition)?.let {
TextDialog.show(childFragmentManager, it.third?.stackTraceToString())
}
}
}

Loading…
Cancel
Save