File tree Expand file tree Collapse file tree
app/src/free/java/io/github/sds100/keymapper/purchasing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ class PurchasingManagerImpl(
1414 private val coroutineScope : CoroutineScope ,
1515) : PurchasingManager {
1616 override val onCompleteProductPurchase: MutableSharedFlow <ProductId > = MutableSharedFlow ()
17- override val purchases: Flow <State <Set <ProductId >>> = MutableStateFlow (State .Data (emptySet()))
17+ override val purchases: Flow <State <Result <Set <ProductId >>>> =
18+ MutableStateFlow (State .Data (Error .PurchasingNotImplemented ))
1819
1920 override suspend fun launchPurchasingFlow (product : ProductId ): Result <Unit > {
2021 return Error .PurchasingNotImplemented
@@ -27,4 +28,6 @@ class PurchasingManagerImpl(
2728 override suspend fun isPurchased (product : ProductId ): Result <Boolean > {
2829 return Error .PurchasingNotImplemented
2930 }
31+
32+ override fun refresh () {}
3033}
You can’t perform that action at this time.
0 commit comments