From c02ae28982199300df946ea286b09cb2d95c0223 Mon Sep 17 00:00:00 2001 From: Adrian Bonpin Date: Mon, 13 Jul 2026 06:54:25 +0800 Subject: [PATCH] fix(plugin): use DialogButtonPrimary for View Details (like HLTB) --- .../src/components/LibraryAppPanel.tsx | 20 +++++-------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/plugins/decky-vault/src/components/LibraryAppPanel.tsx b/plugins/decky-vault/src/components/LibraryAppPanel.tsx index ec6cb79..991661f 100644 --- a/plugins/decky-vault/src/components/LibraryAppPanel.tsx +++ b/plugins/decky-vault/src/components/LibraryAppPanel.tsx @@ -1,5 +1,5 @@ import { useEffect, useState, useRef } from "react" -import { PanelSectionRow, Focusable, staticClasses } from "@decky/ui" +import { PanelSectionRow, DialogButtonPrimary, staticClasses } from "@decky/ui" import { Router } from "@decky/ui" import { fetchPluginGame, @@ -130,20 +130,10 @@ export default function LibraryAppPanel({ appId, title, hardwareSlug, baseUrl }: {detectedSlug ? detectedSlug : ⚠ global} - {/* View Details — compact, gamepad-navigable via Focusable */} - openExternalUrl(gameUrl)} style={{ flexShrink: 0 }}> - - View Details - - + {/* View Details — compact gamepad button */} + openExternalUrl(gameUrl)} style={{ flexShrink: 0, whiteSpace: "nowrap" }}> + View Details + )