We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3fe998b commit 8805452Copy full SHA for 8805452
Loop/Managers/Service.swift
@@ -16,6 +16,12 @@ let staticServicesByIdentifier: [String: Service.Type] = [
16
MockService.serviceIdentifier: MockService.self
17
]
18
19
-let availableStaticServices: [ServiceDescriptor] = [
20
- ServiceDescriptor(identifier: MockService.serviceIdentifier, localizedTitle: MockService.localizedTitle)
21
-]
+var availableStaticServices: [ServiceDescriptor] {
+ if FeatureFlags.allowSimulators {
+ return [
22
+ ServiceDescriptor(identifier: MockService.serviceIdentifier, localizedTitle: MockService.localizedTitle)
23
+ ]
24
+ } else {
25
+ return []
26
+ }
27
+}
0 commit comments