mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-16 12:16:42 +00:00
Merge pull request #8 from angristan/settings-account-list-emoji
AppAccountView: support emoji in account name + slight design change
This commit is contained in:
commit
693451e521
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