mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
finish bugfix update
This commit is contained in:
parent
f4179c5750
commit
2affda87a8
5 changed files with 8 additions and 12 deletions
|
|
@ -155,8 +155,8 @@ 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 3063
|
||||
versionName "3.4.0.1"
|
||||
versionCode 3067
|
||||
versionName "3.4.0.2"
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1101,5 +1101,5 @@
|
|||
<string name="spooky_promo_info_limitations">This promotion only applies during the limited time event. This event starts on October 29th at 8:00 AM EDT (12:00 UTC) and will end November 2nd at 8:00 PM EDT (00:00 UTC). The promo offer is only available when buying Gems for yourself.</string>
|
||||
<string name="spooky_promo_info_instructions">Between October 29th and November 2nd, simply purchase any Gem bundle like usual and your account will be credited with the promotional amount of Gems. More Gems to spend, share, or save for any future releases!</string>
|
||||
<string name="view_gem_bundles">View Gem Bundles</string>
|
||||
<string name="fall_promo_info_prompt">The Fall Gala is in full swing so we thought it was the perfect time to introduce our first ever Gem Sale! Now you will get more Gems with each purchase than ever before.</string>
|
||||
<string name="fall_promo_info_prompt">The Fall Gala is in full swing so we thought it was the perfect time for a Gem Sale! Now you will get more Gems with each purchase than ever before.</string>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -1114,7 +1114,7 @@
|
|||
<string name="how_it_works">How it works</string>
|
||||
<string name="limitations">Limitations</string>
|
||||
<string name="fall_promo_info_instructions">Between %s and %s, simply purchase any Gem bundle like usual and your account will be credited with the promotional amount of Gems. More Gems to spend, share, or save for any future releases!</string>
|
||||
<string name="fall_promo_info_prompt">The Fall Gala is in full swing so we thought it was the perfect time to introduce our first ever Gem Sale! Now you will get more Gems with each purchase than ever before.</string>
|
||||
<string name="fall_promo_info_prompt">The Fall Gala is in full swing so we thought it was the perfect time for a Gem Sale! Now you will get more Gems with each purchase than ever before.</string>
|
||||
<string name="view_gem_bundles">View Gem Bundles</string>
|
||||
<string name="spooky_promo_info_instructions">Between %s and %s, simply purchase any Gem bundle like usual and your account will be credited with the promotional amount of Gems. More Gems to spend, share, or save for any future releases!</string>
|
||||
<string name="gems_promo_info_limitations">This promotion only applies during the limited time event. This event starts on %s (12:00 UTC) and will end %s (00:00 UTC). The promo offer is only available when buying Gems for yourself.</string>
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ class HabiticaPurchaseVerifier(context: Context, apiClient: ApiClient) : BasePur
|
|||
}
|
||||
}
|
||||
preferences?.edit {
|
||||
edit?.putStringSet(PURCHASED_PRODUCTS_KEY, purchasedOrderList)
|
||||
putStringSet(PURCHASED_PRODUCTS_KEY, purchasedOrderList)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -642,13 +642,9 @@ class NavigationDrawerFragment : DialogFragment() {
|
|||
activePromo = configManager.activePromo()
|
||||
val promoItem = getItemWithIdentifier(SIDEBAR_PROMO) ?: return
|
||||
activePromo?.let { activePromo ->
|
||||
if (sharedPreferences.getBoolean("hide${activePromo.identifier}", false)) {
|
||||
promoItem.isVisible = true
|
||||
adapter.activePromo = activePromo
|
||||
} else {
|
||||
promoItem.isVisible = false
|
||||
}
|
||||
|
||||
promoItem.isVisible =
|
||||
!sharedPreferences.getBoolean("hide${activePromo.identifier}", false)
|
||||
adapter.activePromo = activePromo
|
||||
var promotedItem: HabiticaDrawerItem? = null
|
||||
if (activePromo.promoType == PromoType.GEMS_AMOUNT || activePromo.promoType == PromoType.GEMS_PRICE) {
|
||||
promotedItem = getItemWithIdentifier(SIDEBAR_GEMS)
|
||||
|
|
|
|||
Loading…
Reference in a new issue