Pass account info to login dialogs

This commit is contained in:
Robert McRackan 2020-08-28 13:55:03 -04:00
parent a12391f0ab
commit d24c10ddf5
5 changed files with 18 additions and 8 deletions

View file

@ -88,8 +88,7 @@ namespace InternalUtilities
public Account(string accountId)
{
ArgumentValidator.EnsureNotNullOrWhiteSpace(accountId, nameof(accountId));
AccountId = accountId.Trim();
AccountId = ArgumentValidator.EnsureNotNullOrWhiteSpace(accountId, nameof(accountId)).Trim();
}
public override string ToString() => $"{AccountId} - {Locale?.Name ?? "[empty]"}";