Skip to content

Commit

Permalink
Expose shouldRemoveJetpackFeatures helper to ObjC
Browse files Browse the repository at this point in the history
  • Loading branch information
fluiddot committed Jan 2, 2023
1 parent 16fa3c3 commit 5787bbf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Foundation

/// A class containing convenience methods for the the Jetpack features removal experience
class JetpackFeaturesRemovalCoordinator {
class JetpackFeaturesRemovalCoordinator: NSObject {

/// Enum descibing the current phase of the Jetpack features removal
enum GeneralPhase: String {
Expand Down Expand Up @@ -108,6 +108,7 @@ class JetpackFeaturesRemovalCoordinator {
}

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

0 comments on commit 5787bbf

Please sign in to comment.