diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/more/NewUpdateDialogController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/more/NewUpdateDialogController.kt index 328b959f0..01053d5de 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/more/NewUpdateDialogController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/more/NewUpdateDialogController.kt @@ -2,6 +2,9 @@ package eu.kanade.tachiyomi.ui.more import android.app.Dialog import android.os.Bundle +import android.text.method.LinkMovementMethod +import android.view.View +import android.widget.TextView import androidx.core.os.bundleOf import com.google.android.material.dialog.MaterialAlertDialogBuilder import eu.kanade.tachiyomi.R @@ -41,6 +44,14 @@ class NewUpdateDialogController(bundle: Bundle? = null) : DialogController(bundl } .create() } + + override fun onAttach(view: View) { + super.onAttach(view) + + // Make links in Markdown text clickable + (dialog?.findViewById(android.R.id.message) as? TextView)?.movementMethod = + LinkMovementMethod.getInstance() + } } private const val BODY_KEY = "NewUpdateDialogController.body"