mirror of
https://github.com/szkolny-eu/szkolny-android.git
synced 2025-01-18 21:06:44 -06:00
[UI] Fix changelog dialog link highlighting.
This commit is contained in:
parent
6884251646
commit
02d60754b6
@ -17,6 +17,7 @@ import kotlinx.coroutines.Job
|
|||||||
import pl.szczodrzynski.edziennik.App
|
import pl.szczodrzynski.edziennik.App
|
||||||
import pl.szczodrzynski.edziennik.R
|
import pl.szczodrzynski.edziennik.R
|
||||||
import pl.szczodrzynski.edziennik.dp
|
import pl.szczodrzynski.edziennik.dp
|
||||||
|
import pl.szczodrzynski.edziennik.utils.BetterLinkMovementMethod
|
||||||
import kotlin.coroutines.CoroutineContext
|
import kotlin.coroutines.CoroutineContext
|
||||||
|
|
||||||
class ChangelogDialog(
|
class ChangelogDialog(
|
||||||
@ -53,6 +54,8 @@ class ChangelogDialog(
|
|||||||
textView.text = Html.fromHtml(text.replace("<li>", "<br><li> - "))
|
textView.text = Html.fromHtml(text.replace("<li>", "<br><li> - "))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
textView.movementMethod = BetterLinkMovementMethod.getInstance()
|
||||||
|
|
||||||
val scrollView = ScrollView(activity)
|
val scrollView = ScrollView(activity)
|
||||||
scrollView.addView(textView)
|
scrollView.addView(textView)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user