Skip to content

Commit

Permalink
[dev app] update Live Activities mac catalyst
Browse files Browse the repository at this point in the history
  • Loading branch information
nan-li committed Jun 25, 2024
1 parent f1f15d9 commit 0bbd52b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@

import WidgetKit
import SwiftUI

#if !targetEnvironment(macCatalyst)
@main
struct ExampleWidgetBundle: WidgetBundle {
var body: some Widget {
ExampleWidgetLiveActivity()
}
}
#endif
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Copyright © 2024 The Chromium Authors. All rights reserved.
//

#if !targetEnvironment(macCatalyst)
import ActivityKit
import WidgetKit
import SwiftUI
Expand Down Expand Up @@ -64,3 +65,4 @@ struct ExampleWidgetLiveActivity: Widget {
}
}
}
#endif

0 comments on commit 0bbd52b

Please sign in to comment.