SupportViewModel
class SupportViewModel(billingRepository: BillingRepository, telemetryRepository: TelemetryRepository) : LoggedScreenViewModel<SupportUiState, SupportEvent> (source)
ViewModel for the support page: the donation options, and the purchase of one.
BillingRepository is main-safe, so this needs no dispatcher. It reports a failed product query through BillingRepository.purchaseResult instead of throwing, so a failure that arrives before any options have loaded becomes the page's failure state with a retry. Once the options show, a failed purchase is a message and the options stay.