diff --git a/DuckDuckGo/HomePage/View/HomePageView.swift b/DuckDuckGo/HomePage/View/HomePageView.swift index 0adbcc6302..f6ddd2f35f 100644 --- a/DuckDuckGo/HomePage/View/HomePageView.swift +++ b/DuckDuckGo/HomePage/View/HomePageView.swift @@ -184,7 +184,6 @@ extension HomePage.Views { @ViewBuilder func remoteMessage() -> some View { if let remoteMessage = activeRemoteMessageModel.newTabPageRemoteMessage, - !remoteMessage.isForTabBar, let modelType = remoteMessage.content, modelType.isSupported { ZStack { diff --git a/DuckDuckGo/RemoteMessaging/ActiveRemoteMessageModel.swift b/DuckDuckGo/RemoteMessaging/ActiveRemoteMessageModel.swift index fcd93c7c7a..b49a6c19c8 100644 --- a/DuckDuckGo/RemoteMessaging/ActiveRemoteMessageModel.swift +++ b/DuckDuckGo/RemoteMessaging/ActiveRemoteMessageModel.swift @@ -203,7 +203,7 @@ extension RemoteMessageModelType { } } -extension RemoteMessageModel { +private extension RemoteMessageModel { var isForTabBar: Bool { return id == TabBarRemoteMessage.tabBarPermanentSurveyRemoteMessageId