mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-16 20:26:37 +00:00
AppAccountView: support emoji in account name + slight design change
This commit is contained in:
parent
6906069509
commit
cae02c439b
1 changed files with 3 additions and 5 deletions
|
@ -18,12 +18,10 @@ struct AppAccountView: View {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
VStack(alignment: .leading) {
|
VStack(alignment: .leading) {
|
||||||
Text(viewModel.appAccount.server)
|
|
||||||
.font(.headline)
|
|
||||||
if let account = viewModel.account {
|
if let account = viewModel.account {
|
||||||
Text(account.displayName)
|
account.displayNameWithEmojis
|
||||||
Text(account.username)
|
Text("\(account.username)@\(viewModel.appAccount.server)")
|
||||||
.font(.footnote)
|
.font(.subheadline)
|
||||||
.foregroundColor(.gray)
|
.foregroundColor(.gray)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue