Impressia/VernissageWidget/VernissageWidget.swift

22 lines
614 B
Swift
Raw Normal View History

2023-03-11 18:30:33 +01:00
//
// https://mczachurski.dev
// Copyright © 2023 Marcin Czachurski and the repository contributors.
2023-03-28 10:35:38 +02:00
// Licensed under the Apache License 2.0.
2023-03-11 18:30:33 +01:00
//
2023-03-11 18:30:33 +01:00
import WidgetKit
import SwiftUI
struct VernissageWidget: Widget {
let kind: String = "VernissageWidget"
var body: some WidgetConfiguration {
StaticConfiguration(kind: kind, provider: Provider()) { entry in
VernissageWidgetEntryView(entry: entry)
}
.configurationDisplayName("Vernissage")
2023-03-13 13:53:36 +01:00
.description("widget.title.description")
2023-03-11 18:30:33 +01:00
.supportedFamilies([.systemSmall, .systemMedium, .systemLarge])
}
}