mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-22 13:48:55 +00:00
Fixes #1750
This commit is contained in:
parent
67dd4bda78
commit
ecfdce9107
2 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package com.habitrpg.android.habitica.ui.adapter.social
|
||||
|
||||
import android.text.method.LinkMovementMethod
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
|
|
@ -98,7 +97,6 @@ class ChallengesListViewAdapter(
|
|||
|
||||
binding.challengeName.text = EmojiParser.parseEmojis(challenge.name?.trim { it <= ' ' })
|
||||
binding.challengeShorttext.text = challenge.summary
|
||||
binding.challengeShorttext.movementMethod = LinkMovementMethod.getInstance()
|
||||
|
||||
binding.officialChallengeView.visibility = if (challenge.official) View.VISIBLE else View.GONE
|
||||
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ object DataBindingUtils {
|
|||
) {
|
||||
val request = ImageRequest.Builder(context)
|
||||
.data(BASE_IMAGE_URL + getFullFilename(imageName, imageFormat))
|
||||
.target()
|
||||
.target {
|
||||
imageResult(it)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue