From 3e5943e09c6139c099a66ab0c699bb30897af561 Mon Sep 17 00:00:00 2001 From: Ally Founder Date: Tue, 11 Aug 2026 18:36:37 -0400 Subject: [PATCH] RosePlugs: add refresh button to its own settings --- plugins/rose-plugs/src/ui/Settings.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugins/rose-plugs/src/ui/Settings.tsx b/plugins/rose-plugs/src/ui/Settings.tsx index 464e6ea..9841fcf 100644 --- a/plugins/rose-plugs/src/ui/Settings.tsx +++ b/plugins/rose-plugs/src/ui/Settings.tsx @@ -1,6 +1,9 @@ import { React } from "@vendetta/metro/common"; import SettingsScaffold from "@shared/ui/SettingsScaffold"; import NoteBox from "@shared/ui/NoteBox"; +import PrimaryButton from "@shared/ui/PrimaryButton"; +import { showToast } from "@vendetta/ui/toasts"; +import { clearNexusCache } from "../lib/nexusApi"; export default function Settings() { return ( @@ -9,6 +12,14 @@ export default function Settings() { RosePlugs gathers Rosie's other plugins under their own "Rosie's Plugs" section in Settings, with a quick-install browser for anything not installed yet. + { + clearNexusCache(); + showToast("Plugin list will refresh next time you open Plugins"); + }} + style={{ margin: 16 }} + /> ); }