mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-11 14:14:09 +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
|
ForEach(viewModel.fields) { field in
|
||||||
HStack {
|
HStack {
|
||||||
VStack(alignment: .leading, spacing: 2) {
|
VStack(alignment: .leading, spacing: 2) {
|
||||||
Text(field.name)
|
EmojiTextApp(.init(stringValue: field.name), emojis: viewModel.account?.emojis ?? [])
|
||||||
.font(.scaledHeadline)
|
.emojiSize(Font.scaledHeadlineFont.emojiSize)
|
||||||
|
.emojiBaselineOffset(Font.scaledHeadlineFont.emojiBaselineOffset)
|
||||||
HStack {
|
HStack {
|
||||||
if field.verifiedAt != nil {
|
if field.verifiedAt != nil {
|
||||||
Image(systemName: "checkmark.seal")
|
Image(systemName: "checkmark.seal")
|
||||||
|
Loading…
Reference in New Issue
Block a user