From 114123d45be65d66b794cb6f66f2ea3d0afe225d Mon Sep 17 00:00:00 2001 From: kean Date: Fri, 8 Nov 2024 18:18:38 -0500 Subject: [PATCH] Remove topicIsDiscover --- .../Reader/Controllers/ReaderHelpers.swift | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/WordPress/Classes/ViewRelated/Reader/Controllers/ReaderHelpers.swift b/WordPress/Classes/ViewRelated/Reader/Controllers/ReaderHelpers.swift index f0b731065ec0..4983e24168d8 100644 --- a/WordPress/Classes/ViewRelated/Reader/Controllers/ReaderHelpers.swift +++ b/WordPress/Classes/ViewRelated/Reader/Controllers/ReaderHelpers.swift @@ -108,17 +108,6 @@ struct ReaderNotificationKeys { return topic.isKind(of: ReaderSearchTopic.self) } - /// Check if the specified topic is for Discover - /// - /// - Parameters: - /// - topic: A ReaderAbstractTopic - /// - /// - Returns: True if the topic is for Discover - /// - @objc open class func topicIsDiscover(_ topic: ReaderAbstractTopic) -> Bool { - return topic.path.contains("/read/sites/53424024/posts") - } - /// Check if the specified topic is for Following /// /// - Parameters: