diff options
| author | ivar <i@oiee.no> | 2026-05-07 01:24:28 +0200 |
|---|---|---|
| committer | ivar <i@oiee.no> | 2026-05-07 01:24:28 +0200 |
| commit | 6eb17a18e901e2d7faa219d7e5a79083a5891dc9 (patch) | |
| tree | 3d0796e1e567864dfdf7c675f7e8a5a40fb51a95 /Solsnu.Widget/Solsnu_WidgetBundle.swift | |
| parent | 4fb690150b77afced6453e6bdb14cc4cf00d5305 (diff) | |
| download | solverv-6eb17a18e901e2d7faa219d7e5a79083a5891dc9.tar.xz solverv-6eb17a18e901e2d7faa219d7e5a79083a5891dc9.zip | |
Diffstat (limited to 'Solsnu.Widget/Solsnu_WidgetBundle.swift')
| -rw-r--r-- | Solsnu.Widget/Solsnu_WidgetBundle.swift | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Solsnu.Widget/Solsnu_WidgetBundle.swift b/Solsnu.Widget/Solsnu_WidgetBundle.swift index 7bd3f1a..5a41904 100644 --- a/Solsnu.Widget/Solsnu_WidgetBundle.swift +++ b/Solsnu.Widget/Solsnu_WidgetBundle.swift @@ -12,26 +12,5 @@ import SwiftUI struct Solsnu_WidgetBundle: WidgetBundle { var body: some Widget { Solsnu_Widget() - Solsnu_WidgetMedium() - } -} - -struct Solsnu_WidgetMedium: Widget { - let kind: String = "Solsnu_Widget_Medium" - - var body: some WidgetConfiguration { - StaticConfiguration(kind: kind, provider: Provider()) { entry in - if #available(iOS 17.0, *) { - MediumWidgetView(entry: entry) - .containerBackground(.fill.tertiary, for: .widget) - } else { - MediumWidgetView(entry: entry) - .padding() - .background() - } - } - .configurationDisplayName("Solstice Countdown") - .description("Days until next solstice or equinox") - .supportedFamilies([.systemMedium,.systemSmall]) } } |
