From f1778fe101ee8df1d8c5d5037f4701960e80abf7 Mon Sep 17 00:00:00 2001 From: kmmiio99o <164557248+kmmiio99o@users.noreply.github.com> Date: Sat, 1 Nov 2025 23:40:34 +0100 Subject: [PATCH] Update build info version and revise action sheet buttons - Change bunny-build-info version to 1.1.8-2 - Refactor action sheet buttons in Plugins and Themes pages to use a single "Close" button with updated styling --- scripts/build.mjs | 2 +- src/core/ui/settings/pages/Plugins/index.tsx | 11 +++++---- src/core/ui/settings/pages/Themes/index.tsx | 25 +++++--------------- 3 files changed, 14 insertions(+), 24 deletions(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index 6bcdb6d..bca3aa1 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -77,7 +77,7 @@ const config = { constModules: { globals: { "bunny-build-info": { - version: `"1.1.8-1"`, + version: `"1.1.8-2"`, }, }, }, diff --git a/src/core/ui/settings/pages/Plugins/index.tsx b/src/core/ui/settings/pages/Plugins/index.tsx index 27fed83..2c2514b 100644 --- a/src/core/ui/settings/pages/Plugins/index.tsx +++ b/src/core/ui/settings/pages/Plugins/index.tsx @@ -56,7 +56,10 @@ const { AlertActions: AlertActionsComponent, AlertActionButton, } = lazyDestructure(() => findByProps("AlertModal", "AlertActions")); -const { showSimpleActionSheet, hideActionSheet } = lazyDestructure(() => +const { hideActionSheet } = lazyDestructure(() => + findByProps("openLazy", "hideActionSheet"), +); +const { showSimpleActionSheet } = lazyDestructure(() => findByProps("showSimpleActionSheet"), ); @@ -200,10 +203,10 @@ function InstallButton({ The plugin has been added to your plugins list.