fix account details title visibility

This commit is contained in:
2026-04-29 19:18:35 +02:00
parent f161aa8be1
commit fb6e2996b6

View File

@@ -80,7 +80,7 @@ public abstract partial class AccountManagementPageViewModelBase : CoreBaseViewM
OnPropertyChanged(nameof(StartupAccounts));
}
private static string GetAccountDetailsTitle(MailAccount account)
protected static string GetAccountDetailsTitle(MailAccount account)
=> !string.IsNullOrWhiteSpace(account?.Address)
? string.Format(Translator.SettingsAccountDetails_NavigationTitle, account.Address)
: account?.Name ?? Translator.AccountDetailsPage_Title;