From cae02c439bab9405005230e78dc79c5599992ba1 Mon Sep 17 00:00:00 2001 From: Stanislas Lange Date: Fri, 30 Dec 2022 22:30:18 +0100 Subject: [PATCH] AppAccountView: support emoji in account name + slight design change --- IceCubesApp/App/AppAccounts/AppAccountView.swift | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/IceCubesApp/App/AppAccounts/AppAccountView.swift b/IceCubesApp/App/AppAccounts/AppAccountView.swift index f69bb229..631715c4 100644 --- a/IceCubesApp/App/AppAccounts/AppAccountView.swift +++ b/IceCubesApp/App/AppAccounts/AppAccountView.swift @@ -18,12 +18,10 @@ struct AppAccountView: View { } } VStack(alignment: .leading) { - Text(viewModel.appAccount.server) - .font(.headline) if let account = viewModel.account { - Text(account.displayName) - Text(account.username) - .font(.footnote) + account.displayNameWithEmojis + Text("\(account.username)@\(viewModel.appAccount.server)") + .font(.subheadline) .foregroundColor(.gray) } }