Skip to content

Commit

Permalink
feat: 支持主题回复功能 isaced#4 跳转去网页
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonlightSmile committed Oct 8, 2022
1 parent c88b81d commit 1fb4a75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions V2exOS/Views/TopicDetail/TopicDetailView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ struct TopicDetailView: View {
Text(Date(timeIntervalSince1970: TimeInterval(created)).fromNow())
}
}
Link(destination: URL(string: "https://www.v2ex.com/t/\(topic.id)")!) {
Image(systemName: "safari")
Text("在网页中打开")
}

}.foregroundColor(Color(NSColor.secondaryLabelColor))

Expand Down

0 comments on commit 1fb4a75

Please sign in to comment.