mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
4.4.1
This commit is contained in:
parent
199c929222
commit
d096b262cf
4 changed files with 18 additions and 12 deletions
|
|
@ -314,10 +314,11 @@ class PurchaseHandler(
|
|||
val flowParams =
|
||||
BillingFlowParams.newBuilder().setProductDetailsParamsList(
|
||||
listOf(skuDetails).map {
|
||||
BillingFlowParams.ProductDetailsParams.newBuilder()
|
||||
.setProductDetails(skuDetails).setOfferToken(
|
||||
skuDetails.subscriptionOfferDetails?.first()?.offerToken ?: "",
|
||||
).build()
|
||||
var params = BillingFlowParams.ProductDetailsParams.newBuilder().setProductDetails(skuDetails)
|
||||
skuDetails.subscriptionOfferDetails?.first()?.offerToken?.let { offerToken ->
|
||||
params = params.setOfferToken(offerToken)
|
||||
}
|
||||
return@map params.build()
|
||||
},
|
||||
).build()
|
||||
billingClient.launchBillingFlow(activity, flowParams)
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ class ComposeAvatarEquipmentFragment :
|
|||
val avatar by userViewModel.user.observeAsState()
|
||||
AvatarEquipmentView(avatar = avatar, configManager = configManager, viewModel.items, viewModel.type, stringResource(viewModel.typeNameId), activeEquipment) { equipment ->
|
||||
lifecycleScope.launchCatching {
|
||||
if (equipment.key?.isNotBlank() != true && equipment.key != activeEquipment) {
|
||||
if ((equipment.key?.isNotBlank() != true || equipment.key?.endsWith("_0") == true) && equipment.key != activeEquipment) {
|
||||
inventoryRepository.equip(
|
||||
if (userViewModel.user.value?.preferences?.costume == true) "costume" else "equipped",
|
||||
activeEquipment ?: "")
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
New in 4.4:
|
||||
- Support for upcoming events and content
|
||||
- Updated avatar customization interface to support new events and content
|
||||
- Updated push notification library to work with new standards in Firebase Cloud Messaging
|
||||
- Other various bug fixes and interface improvements
|
||||
|
||||
New in 4.4.1:
|
||||
- Check out the new Customization Shop and Avatar Customization experience!
|
||||
- New Giraffe Quest Eggs, Koi Hatching Potions, and Summer Hair colors
|
||||
- It’s easier than ever to know when items will switch out
|
||||
- Hatching option no longer shows on Pet Eggs that aren’t unlocked
|
||||
- Body armor is now hidden when previewing shirts
|
||||
- Pet Bundles show which Quests are in them now
|
||||
- Avatar Customization view works properly on tablets again
|
||||
- Various other bug and interface fixes
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
NAME=4.4
|
||||
CODE=7981
|
||||
NAME=4.4.1
|
||||
CODE=7991
|
||||
|
|
|
|||
Loading…
Reference in a new issue