Skip to content

Commit

Permalink
allow multiple lines for receipt item titled
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dydx committed Jun 12, 2024
1 parent 2b106fb commit 9c5e41b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ public class dydxReceiptChangeItemView: PlatformViewModel {
guard let self = self else { return AnyView(PlatformView.nilView) }

return AnyView(
HStack {
HStack(alignment: .top) {
Text(self.title)
.themeFont(fontSize: .small)
.themeColor(foreground: .textTertiary)
.lineLimit(1)
Spacer()
self.value.createView(parentStyle: parentStyle)
.fixedSize(horizontal: true, vertical: false)
}
)
}
Expand Down

0 comments on commit 9c5e41b

Please sign in to comment.