mirror of
https://github.com/Livinglist/Hacki.git
synced 2025-05-17 05:56:01 +08:00
fix: item page deep link route. (#505)
This commit is contained in:
@ -23,7 +23,7 @@ struct StoryWidgetView : View {
|
||||
.containerBackground(for: .widget) {
|
||||
Color(UIColor.secondarySystemBackground)
|
||||
}
|
||||
.widgetURL(URL(string: "\(story.id)"))
|
||||
.widgetURL(URL(string: "/item/\(story.id)"))
|
||||
default:
|
||||
HStack {
|
||||
VStack {
|
||||
@ -62,7 +62,7 @@ struct StoryWidgetView : View {
|
||||
.containerBackground(for: .widget) {
|
||||
Color(UIColor.secondarySystemBackground)
|
||||
}
|
||||
.widgetURL(URL(string: "\(story.id)"))
|
||||
.widgetURL(URL(string: "/item/\(story.id)"))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user