summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/package.json2
-rw-r--r--frontend/pnpm-lock.yaml10
-rw-r--r--frontend/src/components/store/PluginCard.tsx8
-rw-r--r--frontend/src/components/store/Store.tsx2
-rw-r--r--frontend/src/plugin-loader.tsx2
5 files changed, 11 insertions, 13 deletions
diff --git a/frontend/package.json b/frontend/package.json
index a34e3624..a33c4a35 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -47,7 +47,7 @@
}
},
"dependencies": {
- "@decky/ui": "^4.15.0",
+ "@decky/ui": "^4.15.1",
"compare-versions": "^6.1.1",
"filesize": "^10.1.2",
"i18next": "^25.6.0",
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 1eb8939c..57e28d59 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -9,8 +9,8 @@ importers:
.:
dependencies:
'@decky/ui':
- specifier: ^4.15.0
- version: 4.15.0
+ specifier: ^4.15.1
+ version: 4.15.1
compare-versions:
specifier: ^6.1.1
version: 6.1.1
@@ -222,8 +222,8 @@ packages:
'@decky/api@1.1.3':
resolution: {integrity: sha512-XsPCZxfxk5I1UtylIUN3qaWQI31siQbKfbLIskkI5innEatY1m4NQqBv/6hwPaO9mKMbdqYpnh5PSJDeMEOOBA==}
- '@decky/ui@4.15.0':
- resolution: {integrity: sha512-96VORwUFHOtK5QwuvMUztIOv2nkONa1k69+A+BLeDHZ0d6Cy99nBH+BVAYxnPg3DPl+eRmn+jBW1iB6g+CZWkg==}
+ '@decky/ui@4.15.1':
+ resolution: {integrity: sha512-pIOpN9cm+90oaiQvLpAao8GfuflTC1tbZh1erMUKZ7IHeFYb/vrEhpI/v/avNWOySWFxGl0iVsDALvwIu2l1kg==}
'@esbuild/aix-ppc64@0.20.2':
resolution: {integrity: sha512-D+EBOJHXdNZcLJRBkhENNG8Wji2kgc9AZ9KiPr1JuZjsNtyHzrsfLRrY0tk2H2aoFu6RANO1y1iPPUCDYWkb5g==}
@@ -2311,7 +2311,7 @@ snapshots:
'@decky/api@1.1.3': {}
- '@decky/ui@4.15.0': {}
+ '@decky/ui@4.15.1': {}
'@esbuild/aix-ppc64@0.20.2':
optional: true
diff --git a/frontend/src/components/store/PluginCard.tsx b/frontend/src/components/store/PluginCard.tsx
index a47207c9..4c759b3c 100644
--- a/frontend/src/components/store/PluginCard.tsx
+++ b/frontend/src/components/store/PluginCard.tsx
@@ -1,5 +1,5 @@
import {
- ButtonItem,
+ DialogButton,
Dropdown,
Focusable,
NavEntryPositionPreferences,
@@ -162,9 +162,7 @@ const PluginCard: FC<PluginCardProps> = ({ storePlugin, installedPlugin }) => {
} as CSSProperties
}
>
- <ButtonItem
- bottomSeparator="none"
- layout="below"
+ <DialogButton
onClick={() =>
requestPluginInstall(storePlugin.name, storePlugin.versions[selectedOption], installType)
}
@@ -196,7 +194,7 @@ const PluginCard: FC<PluginCardProps> = ({ storePlugin, installedPlugin }) => {
</>
)}
</span>
- </ButtonItem>
+ </DialogButton>
</div>
<div className="deckyStoreCardVersionContainer" style={{ minWidth: '130px' }}>
<Dropdown
diff --git a/frontend/src/components/store/Store.tsx b/frontend/src/components/store/Store.tsx
index f1d50033..be2248fd 100644
--- a/frontend/src/components/store/Store.tsx
+++ b/frontend/src/components/store/Store.tsx
@@ -183,7 +183,7 @@ const BrowseTab: FC<{ setPluginCount: Dispatch<SetStateAction<number | null>> }>
</Focusable>
</PanelSectionRow>
<div style={{ justifyContent: 'center', display: 'flex' }}>
- <Focusable style={{ display: 'flex', alignItems: 'center', width: '96%' }}>
+ <Focusable style={{ display: 'flex', alignItems: 'center', width: '100%' }}>
<div style={{ width: '100%' }}>
<TextField
label={t('Store.store_search.label')}
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx
index 7f0f0160..185d260a 100644
--- a/frontend/src/plugin-loader.tsx
+++ b/frontend/src/plugin-loader.tsx
@@ -224,7 +224,7 @@ class PluginLoader extends Logger {
private async notifySupportStatus() {
await this.routerHook.waitForUnlock();
- if (this.deckyState.publicState().versionInfo?.supported) {
+ if (!this.deckyState.publicState().versionInfo?.supported) {
this.toaster.toast({
title: <TranslationHelper transClass={TranslationClass.PLUGIN_LOADER} transText="decky_unsupported" />,
body: <TranslationHelper transClass={TranslationClass.PLUGIN_LOADER} transText="decky_unsupported_body" />,