mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-13 17:51:57 +00:00
Fix crash on party screen
This commit is contained in:
parent
81a6a0c0a6
commit
2bd7617f79
3 changed files with 4 additions and 4 deletions
|
|
@ -151,7 +151,7 @@ android {
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
resConfigs "en", "bg", "de", "en-rGB", "es", "fr", "hr-rHR", "in", "it", "iw", "ja", "ko", "lt", "nl", "pl", "pt-rBR", "pt-rPT", "ru", "tr", "zh", "zh-rTW"
|
resConfigs "en", "bg", "de", "en-rGB", "es", "fr", "hr-rHR", "in", "it", "iw", "ja", "ko", "lt", "nl", "pl", "pt-rBR", "pt-rPT", "ru", "tr", "zh", "zh-rTW"
|
||||||
|
|
||||||
versionCode 2274
|
versionCode 2277
|
||||||
versionName "2.3"
|
versionName "2.3"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ import com.habitrpg.android.habitica.ui.views.dialogs.HabiticaAlertDialog
|
||||||
import com.habitrpg.android.habitica.ui.views.social.OldQuestProgressView
|
import com.habitrpg.android.habitica.ui.views.social.OldQuestProgressView
|
||||||
import io.reactivex.functions.Consumer
|
import io.reactivex.functions.Consumer
|
||||||
import io.realm.RealmResults
|
import io.realm.RealmResults
|
||||||
|
import kotlinx.coroutines.Dispatchers
|
||||||
import kotlinx.coroutines.GlobalScope
|
import kotlinx.coroutines.GlobalScope
|
||||||
import kotlinx.coroutines.delay
|
import kotlinx.coroutines.delay
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
|
@ -126,7 +127,7 @@ class PartyDetailFragment : BaseFragment() {
|
||||||
newQuestButton?.visibility = View.GONE
|
newQuestButton?.visibility = View.GONE
|
||||||
questDetailButton?.visibility = View.VISIBLE
|
questDetailButton?.visibility = View.VISIBLE
|
||||||
questImageWrapper?.visibility = View.VISIBLE
|
questImageWrapper?.visibility = View.VISIBLE
|
||||||
GlobalScope.launch {
|
GlobalScope.launch(Dispatchers.Main) {
|
||||||
delay(500)
|
delay(500)
|
||||||
inventoryRepository.getQuestContent(party.quest?.key ?: "")
|
inventoryRepository.getQuestContent(party.quest?.key ?: "")
|
||||||
.firstElement()
|
.firstElement()
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
In this update we added the option to gift gems to other users!
|
This update improves performance in some cases and has various improvements to how markdown is handled (Support for images and opening links from the task list)
|
||||||
We also fixed issues with feeding pets, gear display and using skills.
|
|
||||||
|
|
||||||
Be sure to download this update now for a better Habitica experience!
|
Be sure to download this update now for a better Habitica experience!
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue