From 6eb17a18e901e2d7faa219d7e5a79083a5891dc9 Mon Sep 17 00:00:00 2001 From: ivar Date: Thu, 7 May 2026 01:24:28 +0200 Subject: Refactors --- Solsnu.Widget/Solsnu_WidgetBundle.swift | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'Solsnu.Widget/Solsnu_WidgetBundle.swift') 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]) } } -- cgit v1.3