Skip to content

Commit 61e9723

Browse files
authored
Merge pull request #541 from tidepool-org/ps2/LOOP-4371/widget-fix-attempt
LOOP-4371 - Widget fix attempt
2 parents e2df285 + 9d31ca4 commit 61e9723

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)