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: ... override val isPremium: StateFlow = _isPremium.asStateFlow() private val _hasPendingPurchase = MutableStateFlow(false) override val hasPendingPurchase: StateFlow = _hasPendingPurchase.asStateFlow() private val billingDerivedPending = MutableStateFlow(false) /** * Holds the premium status as determined by the most recent successful billing query, * or `null` if no billing query has completed yet. When `null`, [isPremium] falls back * to the DataStore-cached value so there is no flicker before the billing client connects. */ ...