From e8760a8937506fc1f9d609c74d5c483b54c097b6 Mon Sep 17 00:00:00 2001 From: CakeAndBanana Date: Sun, 19 Oct 2025 21:59:04 +0200 Subject: [PATCH] Fixed nsfwf --- LightlessSync/UI/SyncshellAdminUI.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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(); }