Changed profile opening to use GroupData instead of full info, Added opening of syncshell profile from finder.

This commit is contained in:
cake
2025-12-02 18:19:15 +01:00
parent 962567fbfe
commit 46a8fc72cb
11 changed files with 192 additions and 183 deletions

View File

@@ -40,7 +40,7 @@ public partial class EditProfileUi
var viewport = ImGui.GetMainViewport();
ProfileEditorLayoutCoordinator.Enable(groupInfo.Group.GID);
ProfileEditorLayoutCoordinator.EnsureAnchor(viewport.WorkPos, scale);
Mediator.Publish(new GroupProfileOpenStandaloneMessage(groupInfo));
Mediator.Publish(new GroupProfileOpenStandaloneMessage(groupInfo.Group));
IsOpen = true;
_wasOpen = true;
@@ -246,7 +246,7 @@ public partial class EditProfileUi
ImGui.Dummy(new Vector2(0f, 4f * scale));
ImGui.TextColored(UIColors.Get("LightlessBlue"), "Saved Tags");
var savedTags = _profileTagService.ResolveTags(_profileTagIds);
var savedTags = ProfileTagService.ResolveTags(_profileTagIds);
if (savedTags.Count == 0)
{
ImGui.TextDisabled("-- No tags set --");