summaryrefslogtreecommitdiff
path: root/frontend/src/plugin-loader.tsx
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-07-26 14:16:05 -0400
committerAAGaming <aagaming@riseup.net>2024-08-03 14:04:19 -0400
commitb93fc8b557baed40a312b51196c600be3daaa6fd (patch)
tree9d5f45493d1262639ea7d53a3ce5fab472f5b3a7 /frontend/src/plugin-loader.tsx
parent88e7919a12fd56b297e73afb3fb05483f5893f4d (diff)
downloaddecky-loader-b93fc8b557baed40a312b51196c600be3daaa6fd.tar.gz
decky-loader-b93fc8b557baed40a312b51196c600be3daaa6fd.zip
feat(toaster): render notifications in the quick access menu
Diffstat (limited to 'frontend/src/plugin-loader.tsx')
-rw-r--r--frontend/src/plugin-loader.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx
index 8187116e..f9032909 100644
--- a/frontend/src/plugin-loader.tsx
+++ b/frontend/src/plugin-loader.tsx
@@ -12,6 +12,7 @@ import {
import { FC, lazy } from 'react';
import { FaExclamationCircle, FaPlug } from 'react-icons/fa';
+import DeckyIcon from './components/DeckyIcon';
import { DeckyState, DeckyStateContextProvider, UserInfo, useDeckyState } from './components/DeckyState';
import { File, FileSelectionType } from './components/modals/filepicker';
import { deinitFilepickerPatches, initFilepickerPatches } from './components/modals/filepicker/patches';
@@ -218,6 +219,7 @@ class PluginLoader extends Logger {
i18nArgs={{ tag_name: versionInfo?.remote?.tag_name }}
/>
),
+ icon: <DeckyIcon />,
onClick: () => Router.Navigate('/decky/settings'),
});
}
@@ -246,6 +248,7 @@ class PluginLoader extends Logger {
i18nArgs={{ count: updates.size }}
/>
),
+ icon: <DeckyIcon />,
onClick: () => Router.Navigate('/decky/settings/plugins'),
});
}