Skip to content

Commit c6203cf

Browse files
committed
Update LoopPlayerMultiPlatform.swift
1 parent 50cca32 commit c6203cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/swiftui-loop-videoplayer/view/loop/main/LoopPlayerMultiPlatform.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import SwiftUI
1111
import AVKit
1212
#endif
1313

14-
#if os(iOS) || os(tvOS)
14+
#if canImport(UIKit)
1515
import UIKit
1616
#endif
1717

18-
#if os(macOS)
18+
#if canImport(AppKit)
1919
import AppKit
2020
#endif
2121

0 commit comments

Comments
 (0)