Fix crash on party screen

This commit is contained in:
Phillip Thelen 2019-10-29 12:07:37 +01:00
parent 81a6a0c0a6
commit 2bd7617f79
3 changed files with 4 additions and 4 deletions

View file

@ -151,7 +151,7 @@ android {
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"
versionCode 2274
versionCode 2277
versionName "2.3"
}

View file

@ -33,6 +33,7 @@ import com.habitrpg.android.habitica.ui.views.dialogs.HabiticaAlertDialog
import com.habitrpg.android.habitica.ui.views.social.OldQuestProgressView
import io.reactivex.functions.Consumer
import io.realm.RealmResults
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.delay
import kotlinx.coroutines.launch
@ -126,7 +127,7 @@ class PartyDetailFragment : BaseFragment() {
newQuestButton?.visibility = View.GONE
questDetailButton?.visibility = View.VISIBLE
questImageWrapper?.visibility = View.VISIBLE
GlobalScope.launch {
GlobalScope.launch(Dispatchers.Main) {
delay(500)
inventoryRepository.getQuestContent(party.quest?.key ?: "")
.firstElement()

View file

@ -1,4 +1,3 @@
In this update we added the option to gift gems to other users!
We also fixed issues with feeding pets, gear display and using skills.
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)
Be sure to download this update now for a better Habitica experience!