Skip to content

Commit 88fc979

Browse files
authored
fix: learn more link not underlined - WPB-22531 (#4210)
1 parent 5d5ee1d commit 88fc979

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

WireMessaging/Sources/WireMessagingUI/WireCells/Components/Files/FilesInfoView.swift

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,11 @@ struct FilesInfoView: View {
153153
Strings.RecycleBin.NoData.learnMore
154154
}
155155

156-
return Link(linkTitle, destination: scope.learnMoreURL)
157-
.foregroundColor(SemanticColors.Label.baseSecondaryText.color)
158-
.underline()
156+
return Link(destination: scope.learnMoreURL) {
157+
Text(linkTitle)
158+
.foregroundColor(SemanticColors.Label.baseSecondaryText.color)
159+
.underline()
160+
}
159161
}
160162

161163
private var reloadButton: some View {

0 commit comments

Comments
 (0)