Skip to content

Commit 02e80b6

Browse files
committed
fix: type Any?
1 parent aacae9b commit 02e80b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/VRCKit/Models/InstanceModel.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ public extension Instance {
6767

6868
var userPlatforms: [UserPlatform] {
6969
[
70-
platforms.android > 0 ? .android : nil,
71-
platforms.ios > 0 ? .ios : nil,
72-
platforms.standalonewindows > 0 ? .standalonewindows : nil
70+
platforms.android > 0 ? UserPlatform.android : nil,
71+
platforms.ios > 0 ? UserPlatform.ios : nil,
72+
platforms.standalonewindows > 0 ? UserPlatform.standalonewindows : nil
7373
].compactMap(\.self)
7474
}
7575
}

0 commit comments

Comments
 (0)