Skip to content

Commit 9b21731

Browse files
committed
Rename .appStore
1 parent 546f6e5 commit 9b21731

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
/// The configuration the app was compiled with.
22
public enum BuildConfiguration: String, Sendable {
33
/// Development build, usually run from Xcode.
4-
case debug = "debug"
4+
case debug
55

66
/// Preproduction builds for Automattic employees.
7-
case alpha = "alpha"
7+
case alpha
88

99
/// Production build released in the app store.
10-
case appStore = "release"
10+
case release
1111

1212
public static var current: BuildConfiguration {
1313
BuildSettings.current.configuration
@@ -17,7 +17,7 @@ public enum BuildConfiguration: String, Sendable {
1717
public var isInternal: Bool {
1818
switch self {
1919
case .debug, .alpha: true
20-
case .appStore: false
20+
case .release: false
2121
}
2222
}
2323
}

WordPress/Classes/Utility/BuildInformation/FeatureFlag.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ enum FeatureFlag: Int, CaseIterable {
5454
case .jetpackDisconnect:
5555
return BuildConfiguration.current == .debug
5656
case .siteIconCreator:
57-
return BuildConfiguration.current != .appStore
57+
return BuildConfiguration.current.isInternal
5858
case .betaSiteDesigns:
5959
return false
6060
case .commentModerationUpdate:

0 commit comments

Comments
 (0)