mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-13 17:51:57 +00:00
hourglass count check fix
This commit is contained in:
parent
f5d9a59f6f
commit
85a3411665
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ open class ShopFragment : BaseMainFragment<FragmentRefreshRecyclerviewBinding>()
|
||||||
}
|
}
|
||||||
Shop.TIME_TRAVELERS_SHOP -> {
|
Shop.TIME_TRAVELERS_SHOP -> {
|
||||||
formatTimeTravelersShop(shop1)
|
formatTimeTravelersShop(shop1)
|
||||||
if (userViewModel.user.value?.isSubscribed == false && (hourglasses.value ?: 0.0) < 0.0) {
|
if (userViewModel.user.value?.isSubscribed == false && (hourglasses.value ?: 0.0) <= 0.0) {
|
||||||
activity?.let { activity ->
|
activity?.let { activity ->
|
||||||
val subscriptionBottomSheet = EventOutcomeSubscriptionBottomSheetFragment().apply {
|
val subscriptionBottomSheet = EventOutcomeSubscriptionBottomSheetFragment().apply {
|
||||||
eventType = EventOutcomeSubscriptionBottomSheetFragment.EVENT_HOURGLASS_SHOP_OPENED
|
eventType = EventOutcomeSubscriptionBottomSheetFragment.EVENT_HOURGLASS_SHOP_OPENED
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue