mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
rename unwrapped variable to match optional name
This commit is contained in:
parent
4295b029a5
commit
2378a08287
2 changed files with 4 additions and 4 deletions
|
|
@ -100,8 +100,8 @@ public struct GridCard: View {
|
|||
.lineLimit(1)
|
||||
}
|
||||
|
||||
if let publisherURL = item.publisherDisplayName {
|
||||
Text(publisherURL)
|
||||
if let publisherDisplayName = item.publisherDisplayName {
|
||||
Text(publisherDisplayName)
|
||||
.font(.appCaptionTwo)
|
||||
.foregroundColor(.appGrayText)
|
||||
.underline()
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ public struct FeedCard: View {
|
|||
.lineLimit(1)
|
||||
}
|
||||
|
||||
if let publisherURL = item.publisherDisplayName {
|
||||
Text(publisherURL)
|
||||
if let publisherDisplayName = item.publisherDisplayName {
|
||||
Text(publisherDisplayName)
|
||||
.font(.appCaption)
|
||||
.foregroundColor(.appGrayText)
|
||||
.underline()
|
||||
|
|
|
|||
Loading…
Reference in a new issue