mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-24 14:02:53 +01:00
Support custom emojis in field name fix #1474
This commit is contained in:
parent
9e43dc3f6f
commit
94b642f051
@ -324,8 +324,9 @@ struct AccountDetailHeaderView: View {
|
||||
ForEach(viewModel.fields) { field in
|
||||
HStack {
|
||||
VStack(alignment: .leading, spacing: 2) {
|
||||
Text(field.name)
|
||||
.font(.scaledHeadline)
|
||||
EmojiTextApp(.init(stringValue: field.name), emojis: viewModel.account?.emojis ?? [])
|
||||
.emojiSize(Font.scaledHeadlineFont.emojiSize)
|
||||
.emojiBaselineOffset(Font.scaledHeadlineFont.emojiBaselineOffset)
|
||||
HStack {
|
||||
if field.verifiedAt != nil {
|
||||
Image(systemName: "checkmark.seal")
|
||||
|
Loading…
Reference in New Issue
Block a user