Calendarr-IOS wird mit vollstaendiger Historie als Unterverzeichnis ios/ eingebunden. Damit liegen Server, Web, Android und iOS in einem gemeinsamen Repo. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
20 lines
462 B
Swift
20 lines
462 B
Swift
import SwiftUI
|
|
|
|
@main
|
|
struct CalendarrWatchApp: App {
|
|
@State private var model = WatchSnapshotModel()
|
|
|
|
init() {
|
|
// The session has to be live before the first payload arrives, and a
|
|
// complication push can wake this app with no UI on screen at all.
|
|
WatchSnapshotReceiver.shared.activate()
|
|
}
|
|
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
WatchAgendaView()
|
|
.environment(model)
|
|
}
|
|
}
|
|
}
|