SES-116 Create icons provider and show them on gm screen #45

Merged
s426128 merged 9 commits from SES-116 into dev 2020-12-30 12:19:56 +01:00
Showing only changes of commit 329ac81ed2 - Show all commits

View File

@ -72,12 +72,6 @@ namespace SessionCompanion.Controllers
public async Task<Either<List<CharacterBasicStatsViewModel>, ErrorResponse>> GetLoggedUsersCharacters() public async Task<Either<List<CharacterBasicStatsViewModel>, ErrorResponse>> GetLoggedUsersCharacters()
{ {
var connectedCharacters = _sessionHubData.ConnectedCharacters_Prop; var connectedCharacters = _sessionHubData.ConnectedCharacters_Prop;
if (_sessionHubData.ConnectedCharacters_Prop.Count() == 0)
{
connectedCharacters.Add("a", 1);
connectedCharacters.Add("s", 2);
connectedCharacters.Add("d", 3);
}
var characters = await _service.GetBasicCharactersData(connectedCharacters.Values.ToList()); var characters = await _service.GetBasicCharactersData(connectedCharacters.Values.ToList());
return characters.ToList(); return characters.ToList();