Skip to content

Commit 9d31ca4

Browse files
committed
Add WidgetBundle with @main to attempt to fix upload error
1 parent e2df285 commit 9d31ca4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

StatusWidget/StatusWidget.swift

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ extension Date {
224224
}
225225

226226
#if NOT_USED_IN_TIDEPOOL_LOOP
227-
@main
228227
struct SmallStatusWidget: Widget {
229228
let kind: String = "SmallStatusWidget"
230229

@@ -238,3 +237,12 @@ struct SmallStatusWidget: Widget {
238237
}
239238
}
240239
#endif
240+
241+
@main
242+
struct SmallStatusWidgets: WidgetBundle {
243+
var body: some Widget {
244+
#if NOT_USED_IN_TIDEPOOL_LOOP
245+
SmallStatusWidget()
246+
#endif
247+
}
248+
}

0 commit comments

Comments
 (0)