Skip to content

Commit 04e7af0

Browse files
committed
Fix the watchOS Example compile issue
1 parent 60f3531 commit 04e7af0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Example/SDWebImageSwiftUIDemo/ContentView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ import SDWebImageSwiftUI
1212

1313
class UserSettings: ObservableObject {
1414
// Some environment configuration
15+
#if os(tvOS)
1516
@Published var editMode: EditMode = .inactive
1617
@Published var zoomed: Bool = false
18+
#endif
1719
}
1820

1921
#if os(watchOS)

0 commit comments

Comments
 (0)