Skip to content

Commit

Permalink
hourglass count check fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hafizzle committed Sep 28, 2023
1 parent 3510034 commit 45de6d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ open class ShopFragment : BaseMainFragment<FragmentRefreshRecyclerviewBinding>()
}
Shop.TIME_TRAVELERS_SHOP -> {
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 ->
val subscriptionBottomSheet = EventOutcomeSubscriptionBottomSheetFragment().apply {
eventType = EventOutcomeSubscriptionBottomSheetFragment.EVENT_HOURGLASS_SHOP_OPENED
Expand Down

0 comments on commit 45de6d5

Please sign in to comment.