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