mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-18 11:49:01 +00:00
Fix gifting subscriptions
This commit is contained in:
parent
0f87874ede
commit
4ead5fce0c
3 changed files with 6 additions and 5 deletions
|
|
@ -149,7 +149,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 2258
|
||||
versionCode 2261
|
||||
versionName "2.2"
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -86,8 +86,8 @@ class GiftSubscriptionActivity : BaseActivity() {
|
|||
giftedUserID = intent.getStringExtra("userID")
|
||||
giftedUsername = intent.getStringExtra("username")
|
||||
if (giftedUserID == null && giftedUsername == null) {
|
||||
giftedUserID = navArgs<GiftGemsActivityArgs>().value.userID
|
||||
giftedUsername = navArgs<GiftGemsActivityArgs>().value.username
|
||||
giftedUserID = navArgs<GiftSubscriptionActivityArgs>().value.userID
|
||||
giftedUsername = navArgs<GiftSubscriptionActivityArgs>().value.username
|
||||
}
|
||||
|
||||
subscriptionButton?.setOnClickListener {
|
||||
|
|
@ -112,6 +112,7 @@ class GiftSubscriptionActivity : BaseActivity() {
|
|||
purchaseHandler?.startListening()
|
||||
|
||||
purchaseHandler?.getAllGiftSubscriptionProducts {
|
||||
//skus = it.skus
|
||||
for (sku in it.skus) {
|
||||
updateButtonLabel(sku, sku.price, it)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
In this update we added managing party members to the party screen and in-app notifications for certain notifications.
|
||||
We also fixed some issues with notifications and improved the feedback when opening a mystery item
|
||||
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.
|
||||
|
||||
Be sure to download this update now for a better Habitica experience!
|
||||
|
|
|
|||
Loading…
Reference in a new issue