mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-31 19:20:34 +00:00
fix issue with subscriptions
This commit is contained in:
parent
67be57556e
commit
6cbeee971f
4 changed files with 15 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1 +1,11 @@
|
|||
In this update we’ve 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. We’ve 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 don’t 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue