fix: remove remaining force-unwrap in widgetURL (AGENTS.md §7)
This commit is contained in:
@@ -553,7 +553,7 @@ struct WorkoutLiveActivity: Widget {
|
||||
.contentMargins(.leading, 8, for: .expanded)
|
||||
.contentMargins(.trailing, 8, for: .expanded)
|
||||
.contentMargins(.bottom, 6, for: .expanded)
|
||||
.widgetURL(URL(string: "tabatago://workout") ?? URL(string: "about:blank")!)
|
||||
.widgetURL(URL(string: "tabatago://workout"))
|
||||
}
|
||||
.supplementalActivityFamilies([.small, .medium])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user