2022-06-10 21:20:49 +02:00
|
|
|
import SwiftUI
|
|
|
|
|
|
|
|
@main
|
|
|
|
struct CapsApp: App {
|
|
|
|
|
2022-06-21 19:38:51 +02:00
|
|
|
static let thumbnailImageSize: CGFloat = 60
|
|
|
|
|
2022-06-10 21:20:49 +02:00
|
|
|
let database = Database(server: URL(string: "https://christophhagen.de/caps")!)
|
|
|
|
|
|
|
|
var body: some Scene {
|
|
|
|
WindowGroup {
|
|
|
|
ContentView()
|
|
|
|
.environmentObject(database)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|