diff --git a/iosApp/iosApp/extensions/PartnerRepositoryExt.swift b/iosApp/iosApp/extensions/PartnerRepositoryExt.swift index 591de85e4..a3e1a3834 100644 --- a/iosApp/iosApp/extensions/PartnerRepositoryExt.swift +++ b/iosApp/iosApp/extensions/PartnerRepositoryExt.swift @@ -10,7 +10,7 @@ import SharedDi import KMPNativeCoroutinesCore extension PartnerRepository { - func partners() -> NativeFlow { + func partners() -> NativeFlow { PartnerRepositoryNativeKt.partners(self) } diff --git a/iosApp/iosApp/screens/partners/PartnersViewModel.swift b/iosApp/iosApp/screens/partners/PartnersViewModel.swift index 4100b42ec..ddb6cf1cb 100644 --- a/iosApp/iosApp/screens/partners/PartnersViewModel.swift +++ b/iosApp/iosApp/screens/partners/PartnersViewModel.swift @@ -29,7 +29,7 @@ class PartnersViewModel: ObservableObject { do { let stream = asyncSequence(for: repository.partners()) for try await partners in stream { - self.uiState = PartnersUiState.success(partners) + self.uiState = PartnersUiState.success(partners.partners) } } catch { self.uiState = PartnersUiState.failure