diff options
| author | AAGaming <aagaming@riseup.net> | 2026-10-17 21:01:12 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2026-10-17 21:01:12 -0400 |
| commit | f94d6e5225c7cd636a5c958b8d504be39b45a9b6 (patch) | |
| tree | 1172ea680e45a95d4b3d257c2cda5769bd0136e6 /frontend/src | |
| parent | a4595808b26924d6cdaa46eb7e46bbdbcec3966b (diff) | |
| download | decky-loader-f94d6e5225c7cd636a5c958b8d504be39b45a9b6.tar.gz decky-loader-f94d6e5225c7cd636a5c958b8d504be39b45a9b6.zip | |
store fixes
Diffstat (limited to 'frontend/src')
| -rw-r--r-- | frontend/src/components/store/PluginCard.tsx | 8 | ||||
| -rw-r--r-- | frontend/src/components/store/Store.tsx | 2 | ||||
| -rw-r--r-- | frontend/src/plugin-loader.tsx | 2 |
3 files changed, 5 insertions, 7 deletions
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" />, |
