From e8ac700c6e79a4bebcf2908ba821660784e761e3 Mon Sep 17 00:00:00 2001 From: gedoor Date: Fri, 10 Sep 2021 17:35:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/ui/about/AppLogDialog.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/io/legado/app/ui/about/AppLogDialog.kt b/app/src/main/java/io/legado/app/ui/about/AppLogDialog.kt index 11acae967..56d343da2 100644 --- a/app/src/main/java/io/legado/app/ui/about/AppLogDialog.kt +++ b/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()) + } } }