From 8f94c01a1287aadf7e77abb0701e7f4f5512c7f0 Mon Sep 17 00:00:00 2001 From: Otavio Cordeiro Date: Tue, 5 Jan 2021 09:09:30 +0100 Subject: [PATCH] Remove unused code --- Pinboarding/Views/Refresh/RefreshViewModel.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Pinboarding/Views/Refresh/RefreshViewModel.swift b/Pinboarding/Views/Refresh/RefreshViewModel.swift index a1dbaa1..dfb5c6d 100644 --- a/Pinboarding/Views/Refresh/RefreshViewModel.swift +++ b/Pinboarding/Views/Refresh/RefreshViewModel.swift @@ -31,7 +31,6 @@ final class RefreshViewModel: ObservableObject { refreshCancellable?.cancel() refreshCancellable = repository.forceRefreshBookmarksPublisher() .receive(on: RunLoop.main) - .flatMap { Just($0) } .sink( receiveCompletion: { _ in }, receiveValue: { _ in }