From 69acfc5aa6d282a169d0af998b3cf450112fc005 Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Sat, 12 Dec 2020 16:25:36 -0600 Subject: [PATCH] Suppress warning when building for iOS --- Shared/ExtensionPoints/ExtensionPointManager.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shared/ExtensionPoints/ExtensionPointManager.swift b/Shared/ExtensionPoints/ExtensionPointManager.swift index d4c8cace8..bf8cb0402 100644 --- a/Shared/ExtensionPoints/ExtensionPointManager.swift +++ b/Shared/ExtensionPoints/ExtensionPointManager.swift @@ -151,8 +151,10 @@ private extension ExtensionPointManager { return TwitterFeedProvider(screenName: screenName) case .reddit(let username): return RedditFeedProvider(username: username) + #if os(macOS) default: return nil + #endif } }