diff --git a/Pinboarding/Views/Refresh/RefreshViewModel.swift b/Pinboarding/Views/Refresh/RefreshViewModel.swift index 684b30e..a1dbaa1 100644 --- a/Pinboarding/Views/Refresh/RefreshViewModel.swift +++ b/Pinboarding/Views/Refresh/RefreshViewModel.swift @@ -19,6 +19,7 @@ final class RefreshViewModel: ObservableObject { self.repository = repository self.activityCancellable = repository.networkActivityPublisher() + .receive(on: RunLoop.main) .map { $0 == .loading } .assign(to: \.isReloading, on: self) }