Caps-iOS/Caps/CapsApp.swift

22 lines
469 B
Swift
Raw Normal View History

2022-06-10 21:20:49 +02:00
import SwiftUI
#warning("TODO: Add colors")
2022-06-21 19:38:51 +02:00
#warning("TODO: Rearrange caps in grid view")
#warning("TODO: Change main image")
#warning("TODO: Load/save grid images")
2022-06-10 21:20:49 +02:00
@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)
}
}
}