Skip to content

Commit

Permalink
Site Monitoring: Add remote feature flag (#22457)
Browse files Browse the repository at this point in the history
  • Loading branch information
momo-ozawa authored Jan 25, 2024
2 parents 92a51a2 + 3b34995 commit e153103
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ enum RemoteFeatureFlag: Int, CaseIterable {
case wordPressSotWCard
case inAppRating
case statsTrafficTab
case siteMonitoring

var defaultValue: Bool {
switch self {
Expand Down Expand Up @@ -77,6 +78,8 @@ enum RemoteFeatureFlag: Int, CaseIterable {
return false
case .statsTrafficTab:
return false
case .siteMonitoring:
return false
}
}

Expand Down Expand Up @@ -131,6 +134,8 @@ enum RemoteFeatureFlag: Int, CaseIterable {
return "in_app_rating_and_feedback"
case .statsTrafficTab:
return "stats_traffic_tab"
case .siteMonitoring:
return "site_monitoring"
}
}

Expand Down Expand Up @@ -184,6 +189,8 @@ enum RemoteFeatureFlag: Int, CaseIterable {
return "In-App Rating and Feedback"
case .statsTrafficTab:
return "Stats Traffic Tab"
case .siteMonitoring:
return "Site Monitoring"
}
}

Expand Down

0 comments on commit e153103

Please sign in to comment.