From 5b70fa355745ff9e9d1a245d582d8c0277148025 Mon Sep 17 00:00:00 2001 From: Inbestigator Date: Sun, 9 Jun 2024 16:59:58 -0700 Subject: [PATCH] Renamed otherOptionDefault -> textInputDefault --- src/plugins/betterBanReasons/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/betterBanReasons/index.tsx b/src/plugins/betterBanReasons/index.tsx index 3da7a3640..fcc7dc56f 100644 --- a/src/plugins/betterBanReasons/index.tsx +++ b/src/plugins/betterBanReasons/index.tsx @@ -61,7 +61,7 @@ const settings = definePluginSettings({ default: [], component: ReasonsComponent, }, - otherOptionDefault: { + textInputDefault: { type: OptionType.BOOLEAN, description: 'Shows a text input instead of a select menu by default. (Equivalent to clicking the "Other" option)' } @@ -94,7 +94,7 @@ export default definePlugin({ )); }, isOtherDefault() { - return settings.store.otherOptionDefault ? 1 : 0; + return settings.store.textInputDefault ? 1 : 0; }, settings, });