Skip to content

Commit 5787bbf

Browse files
committed
Expose shouldRemoveJetpackFeatures helper to ObjC
1 parent 16fa3c3 commit 5787bbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WordPress/Classes/ViewRelated/Jetpack/Branding/Coordinator/JetpackFeaturesRemovalCoordinator.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Foundation
22

33
/// A class containing convenience methods for the the Jetpack features removal experience
4-
class JetpackFeaturesRemovalCoordinator {
4+
class JetpackFeaturesRemovalCoordinator: NSObject {
55

66
/// Enum descibing the current phase of the Jetpack features removal
77
enum GeneralPhase: String {
@@ -108,6 +108,7 @@ class JetpackFeaturesRemovalCoordinator {
108108
}
109109

110110
/// Used to determine if the Jetpack features should be removed based on the removal phase.
111+
@objc
111112
static func shouldRemoveJetpackFeatures() -> Bool {
112113
switch generalPhase() {
113114
case .four, .newUsers:

0 commit comments

Comments
 (0)