Skip to content

Commit d93c560

Browse files
fix: learn more link not underlined - WPB-22531 🍒 (#4211)
Co-authored-by: Jullian Mercier <31648126+jullianm@users.noreply.github.com>
1 parent c0a4e71 commit d93c560

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎WireMessaging/Sources/WireMessagingUI/WireDrive/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)