mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-13 17:51:57 +00:00
use correct call
This commit is contained in:
parent
d269484cc9
commit
8d62947595
1 changed files with 2 additions and 2 deletions
|
|
@ -145,8 +145,8 @@ class SubscriptionFragment : BaseFragment<FragmentSubscriptionBinding>() {
|
|||
component.inject(this)
|
||||
}
|
||||
|
||||
fun loadInventory() {
|
||||
CoroutineScope(Dispatchers.IO).launch(ExceptionHandler.coroutine()) {
|
||||
private fun loadInventory() {
|
||||
CoroutineScope(Dispatchers.IO).launchCatching {
|
||||
val subscriptions = purchaseHandler.getAllSubscriptionProducts()
|
||||
skus = subscriptions
|
||||
withContext(Dispatchers.Main) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue