add show notes instead of names

This commit is contained in:
Stanley Dimant
2023-04-20 11:06:53 +02:00
parent 5b52896243
commit 4c88e0e249
5 changed files with 24 additions and 3 deletions

View File

@@ -142,6 +142,14 @@ public class UidDisplayHandler
{
playerText = pair.PlayerName;
textIsUid = false;
if (_mareConfigService.Current.PreferNotesOverNamesForVisible)
{
var note = pair.GetNote();
if (note != null)
{
playerText = note;
}
}
}
return (textIsUid, playerText!);