mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
fix crash
This commit is contained in:
parent
dba9aa1fc4
commit
8ebca19ffa
1 changed files with 2 additions and 2 deletions
|
|
@ -9,9 +9,9 @@ import android.text.style.URLSpan
|
|||
import android.view.View
|
||||
import android.widget.TextView
|
||||
|
||||
class HabiticaClickableSpan(val onClick: () -> Unit): ClickableSpan() {
|
||||
class HabiticaClickableSpan(val onClickAction: () -> Unit): ClickableSpan() {
|
||||
override fun onClick(widget: View) {
|
||||
onClick(widget)
|
||||
onClickAction()
|
||||
}
|
||||
|
||||
override fun updateDrawState(ds: TextPaint) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue