Fix the watchOS Example compile issue

This commit is contained in:
DreamPiggy 2020-03-03 19:01:24 +08:00
parent 60f353180d
commit 04e7af0e5b
1 changed files with 2 additions and 0 deletions

View File

@ -12,8 +12,10 @@ import SDWebImageSwiftUI
class UserSettings: ObservableObject {
// Some environment configuration
#if os(tvOS)
@Published var editMode: EditMode = .inactive
@Published var zoomed: Bool = false
#endif
}
#if os(watchOS)