Skip to content

Commit 342c22c

Browse files
Fix optional import of documentable
1 parent 4676bb8 commit 342c22c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Research/Research/RSDDocumentable.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public struct RSDDocumentCreator {
5656
RSDFormUIHint.self,
5757
RSDIdentifier.self,
5858
RSDKeyboardType.self,
59+
RSDMotionRecorderType.self,
5960
RSDResultType.self,
6061
RSDStandardPermissionType.self,
6162
RSDStepType.self,
@@ -64,13 +65,6 @@ public struct RSDDocumentCreator {
6465
RSDTextAutocorrectionType.self,
6566
RSDTextSpellCheckingType.self,
6667
]
67-
68-
#if os(iOS)
69-
let iOSEnums: [RSDDocumentableStringEnum.Type] = [
70-
RSDMotionRecorderType.self,
71-
]
72-
allEnums.append(contentsOf: iOSEnums)
73-
#endif
7468

7569
return allEnums
7670
}()

0 commit comments

Comments
 (0)