diff --git a/LightlessSync/UI/SyncshellAdminUI.cs b/LightlessSync/UI/SyncshellAdminUI.cs index d019366..80f4f7e 100644 --- a/LightlessSync/UI/SyncshellAdminUI.cs +++ b/LightlessSync/UI/SyncshellAdminUI.cs @@ -265,6 +265,10 @@ public class SyncshellAdminUI : WindowMediatorSubscriberBase ImGui.EndChildFrame(); ImGui.TreePop(); } + var nsfw = _profileData.IsNsfw; + ImGui.BeginDisabled(); + ImGui.Checkbox("Is NSFW", ref nsfw); + ImGui.EndDisabled(); } ImGui.Separator(); @@ -359,10 +363,6 @@ public class SyncshellAdminUI : WindowMediatorSubscriberBase { UiSharedService.TextWrapped(_descriptionText); } - var nsfw = profile.IsNSFW; - ImGui.BeginDisabled(); - ImGui.Checkbox("Is NSFW", ref nsfw); - ImGui.EndDisabled(); ImGui.EndChildFrame(); }