Caps-iOS/Caps/CapsApp.swift
2022-06-21 19:38:51 +02:00

22 lines
469 B
Swift

import SwiftUI
#warning("TODO: Add colors")
#warning("TODO: Rearrange caps in grid view")
#warning("TODO: Change main image")
#warning("TODO: Load/save grid images")
@main
struct CapsApp: App {
static let thumbnailImageSize: CGFloat = 60
let database = Database(server: URL(string: "https://christophhagen.de/caps")!)
var body: some Scene {
WindowGroup {
ContentView()
.environmentObject(database)
}
}
}