fix issue with subscriptions

This commit is contained in:
Phillip Thelen 2022-02-18 14:16:34 +01:00
parent 67be57556e
commit 6cbeee971f
4 changed files with 15 additions and 4 deletions

View file

@ -157,7 +157,7 @@ android {
buildConfigField "String", "TESTING_LEVEL", "\"production\""
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 3241
versionCode 3253
versionName "3.5.1"
targetSdkVersion 32

View file

@ -104,6 +104,7 @@ class GiftSubscriptionActivity : PurchaseActivity() {
for (sku in skus) {
updateButtonLabel(sku)
}
skus.minByOrNull { it.priceAmountMicros }?.let { selectSubscription(it) }
}
}
}
@ -112,7 +113,7 @@ class GiftSubscriptionActivity : PurchaseActivity() {
if (matchingView != null) {
matchingView.setPriceText(sku.price)
matchingView.sku = sku.sku
binding.subscription1MonthView.setOnPurchaseClickListener { selectSubscription(sku) }
matchingView.setOnPurchaseClickListener { selectSubscription(sku) }
}
}

View file

@ -133,7 +133,7 @@ class SubscriptionFragment : BaseFragment<FragmentSubscriptionBinding>() {
for (sku in subscriptions) {
updateButtonLabel(sku, sku.price)
}
subscriptions.firstOrNull()?.let { selectSubscription(it) }
subscriptions.minByOrNull { it.priceAmountMicros }?.let { selectSubscription(it) }
hasLoadedSubscriptionOptions = true
updateSubscriptionInfo()
}

View file

@ -1 +1,11 @@
In this update weve fixed some bugs, added more seasonal event support, and made a few quality of life improvements! Sending Guild and Party invites through email should work more reliably. Weve improved task drag and drop logic when filters are applied to make the order more consistent. Habit streak is now referred to as Habit Counter to better reflect the actual behavior. Issues with subscriptions not cancelling fully or getting errors when buying multiple Gem packages should be resolved.
- New unsaved changes warning for tasks
- New design for the Gem screen
- New design for Starting Objectives
- New private messages will show without needing to scroll
- Purchased Backgrounds show correctly
- Fixes Armoire error when you dont have enough Gold
- Fixes issue where the wrong task filters would show sometimes
- Gift subs can be properly selected
- Ended Challenges will go away properly
- External links work in Guilds
- Proper 12h/24h support