From d96f414d3eb060c47c1b4158081a4d491ab5552c Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 5 Dec 2025 18:59:37 -0500 Subject: [PATCH] UserPFP: Hide DB Change if on Standalone --- src/equicordplugins/userpfp/index.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/equicordplugins/userpfp/index.tsx b/src/equicordplugins/userpfp/index.tsx index 332bf023e..10fd0967a 100644 --- a/src/equicordplugins/userpfp/index.tsx +++ b/src/equicordplugins/userpfp/index.tsx @@ -34,8 +34,12 @@ const settings = definePluginSettings({ description: "URL to load database from", type: OptionType.STRING, default: "https://userpfp.github.io/UserPFP/source/data.json", + hidden: !IS_DEV, isValid: (value => { - if (!value) return false; + if (!value) { + value = "https://userpfp.github.io/UserPFP/source/data.json"; + return false; + } return true; }) }