chore(repo): iOS-App als ios/ ins Hauptrepo uebernehmen
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>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import SwiftUI
|
||||
|
||||
struct MainTabView: View {
|
||||
@Environment(AppState.self) var appState
|
||||
@State private var showMenu = false
|
||||
|
||||
var api: CalendarrAPI {
|
||||
CalendarrAPI(baseURL: appState.serverURL, token: appState.authToken)
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
CalendarHostView(api: api, showMenu: $showMenu)
|
||||
.ignoresSafeArea(edges: .bottom)
|
||||
.sheet(isPresented: $showMenu) {
|
||||
MenuSheet(api: api)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user