Skip to content

Commit f315e0b

Browse files
committed
Merge tag 'use-cloudflare-domain-name-for-validation' into develop
2 parents 71ce6d5 + abe0f52 commit f315e0b

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

Core/Sources/HostApp/DebugView.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ final class DebugSettings: ObservableObject {
2727
var toastForTheReasonWhyXcodeInspectorNeedsToBeRestarted
2828
@AppStorage(\.observeToAXNotificationWithDefaultMode)
2929
var observeToAXNotificationWithDefaultMode
30+
@AppStorage(\.useCloudflareDomainNameForLicenseCheck)
31+
var useCloudflareDomainNameForLicenseCheck
3032
init() {}
3133
}
3234

@@ -126,6 +128,12 @@ struct DebugSettingsView: View {
126128
Text("Observe to AXNotification with default mode")
127129
}
128130
}
131+
132+
Toggle(
133+
isOn: $settings.useCloudflareDomainNameForLicenseCheck
134+
) {
135+
Text("Use Cloudflare domain name for license check")
136+
}
129137
}
130138
}
131139
.frame(maxWidth: .infinity)

Pro

Submodule Pro updated from abe60e8 to 43e5416

Tool/Sources/Preferences/Keys.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,5 +648,9 @@ public extension UserDefaultPreferenceKeys {
648648
var observeToAXNotificationWithDefaultMode: FeatureFlag {
649649
.init(defaultValue: false, key: "FeatureFlag-observeToAXNotificationWithDefaultMode")
650650
}
651+
652+
var useCloudflareDomainNameForLicenseCheck: FeatureFlag {
653+
.init(defaultValue: false, key: "FeatureFlag-UseCloudflareDomainNameForLicenseCheck")
654+
}
651655
}
652656

0 commit comments

Comments
 (0)