Created
June 30, 2020 15:47
-
-
Save arthurpalves/1988ee8f76485efd993c019f29741d9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ... */ | |
VStack(alignment: .leading, spacing: 2) { | |
Text(entry.product.name) | |
.bold() | |
.font(Font.system(size: 14)) | |
Text("\(entry.product.formattedAmount(maskingData: entry.maskSensitiveData))") | |
.bold() | |
.lineLimit(1) | |
.font(Font.system(size: 22)) | |
Spacer() | |
Text("Last checked at") | |
Text(entry.date, style: .time) | |
Spacer() | |
Image(systemName: "creditcard.fill") | |
.padding(.bottom, 4) | |
} | |
.font(.footnote) | |
/* ... */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment