Successfully modified file: /home/Messier82/projects/service-book/app/src/main/java/com/servicebook/data/billing/BillingManagerImpl.kt (1 replacements). Here is the updated code: ... DebugBillingOverrideMode.FORCE_PREMIUM -> true DebugBillingOverrideMode.FORCE_PENDING -> false DebugBillingOverrideMode.NONE -> billingPremium ?: cachedPremium ?: false } }.collect { _isPremium.value = it } } else { combine( billingDerivedPremium, cachedPremiumFlow, ) { billingPremium, cachedPremium -> billingPremium ?: cachedPremium ?: false }.collect { _isPremium.value = it } } } coroutineScope.launch { if (debugOverride != null) { combine( billingDerivedPending, debugOverride.mode, ) { billingPending, overrideMode -> when (overrideMode) { DebugBillingOverrideMode.FORCE_PENDING -> true else -> billingPending } }.collect { _hasPendingPurchase.value = it } } else { billingDerivedPending.collect { _hasPendingPurchase.value = it } } } } ...