From 5a6211ebea74bdbf6fd0d932c68e60d62229eda8 Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Sun, 28 Jun 2026 17:26:20 +0800 Subject: [PATCH] fix(plugin): replace raw buttons with ButtonItem for controller navigation --- plugins/decky-vault/src/index.tsx | 43 +++++++++++-------------------- 1 file changed, 15 insertions(+), 28 deletions(-) diff --git a/plugins/decky-vault/src/index.tsx b/plugins/decky-vault/src/index.tsx index 0de5783..3b9295b 100644 --- a/plugins/decky-vault/src/index.tsx +++ b/plugins/decky-vault/src/index.tsx @@ -2,6 +2,7 @@ import { useState, useEffect, useRef } from "react" import { PanelSection, PanelSectionRow, + ButtonItem, staticClasses, } from "@decky/ui" import { @@ -144,38 +145,24 @@ function Content() { return ( <> {/* ── Tab navigation ──────────────────────────────────────── */} - -
- - -
-
+ {activeTab === "settings" ? "▶ Settings" : "Settings"} + + + {activeTab === "main" ? (