optimize file scanner, fix unban in banui, show syncshell notes in standalone profile ui
This commit is contained in:
@@ -140,9 +140,11 @@ public class StandaloneProfileUi : WindowMediatorSubscriberBase
|
||||
if (Pair.GroupPair.Any())
|
||||
{
|
||||
ImGui.TextUnformatted("Paired through Syncshells:");
|
||||
foreach (var groupPair in Pair.GroupPair)
|
||||
foreach (var groupPair in Pair.GroupPair.Select(k => k.Key))
|
||||
{
|
||||
ImGui.TextUnformatted("- " + groupPair.Key.GroupAliasOrGID);
|
||||
var groupNote = _serverManager.GetNoteForGid(groupPair.GID);
|
||||
var groupString = string.IsNullOrEmpty(groupNote) ? groupPair.GroupAliasOrGID : $"{groupNote} ({groupPair.GroupAliasOrGID})";
|
||||
ImGui.TextUnformatted("- " + groupString);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user