Skip to content

Commit

Permalink
#34 Fix code smells
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailgulek committed Jun 22, 2022
1 parent a3ac72d commit c3e87b3
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -47,12 +47,12 @@ struct TimelineItemStylerView<Header: View, Content: View>: View {
Text(timelineItem.timestamp)
.foregroundColor(.global.white)
.font(.element.caption2)
.alignmentGuide(.trailing, computeValue: { dimensions in
.alignmentGuide(.trailing) { dimensions in
dimensions[.trailing] + 8
})
.alignmentGuide(.bottom, computeValue: { dimensions in
}
.alignmentGuide(.bottom) { dimensions in
dimensions[.bottom] + 8
})
}
.padding(4)
.background(Color(white: 0, opacity: 0.7))
.clipped()
Expand Down

0 comments on commit c3e87b3

Please sign in to comment.