mirror of
https://github.com/d4rken-org/capod.git
synced 2026-09-14 18:26:11 -04:00
Code fluff
This commit is contained in:
-3
@@ -109,9 +109,6 @@ class BillingClientConnectionProvider @Inject constructor(
|
||||
delay(3000 * attempt)
|
||||
true
|
||||
}
|
||||
.catch {
|
||||
log(TAG, ERROR) { "Unable to provide client connection:\n${it.asLog()}" }
|
||||
}
|
||||
|
||||
companion object {
|
||||
val TAG: String = logTag("Upgrade", "Gplay", "Billing", "Client", "ConnectionProvider")
|
||||
|
||||
@@ -28,6 +28,7 @@ class BillingDataRepo @Inject constructor(
|
||||
) {
|
||||
|
||||
private val connectionProvider = billingClientConnectionProvider.connection
|
||||
.catch { log(TAG, ERROR) { "Unable to provide client connection:\n${it.asLog()}" } }
|
||||
.replayingShare(scope)
|
||||
|
||||
val billingData: Flow<BillingData> = connectionProvider
|
||||
|
||||
Reference in New Issue
Block a user