diff options
| author | AAGaming <aa@mail.catvibers.me> | 2022-12-15 21:16:22 -0500 |
|---|---|---|
| committer | AAGaming <aa@mail.catvibers.me> | 2022-12-15 21:16:22 -0500 |
| commit | 346f80beb31d1e2a95d31a5997b5a233d08e0645 (patch) | |
| tree | ad56b8d274f79faaa6c75b025158ec0737c338b5 /frontend/src/components/store | |
| parent | 2a6bf75f0232d96a687605b121c5a2da42c7f3b1 (diff) | |
| download | decky-loader-346f80beb31d1e2a95d31a5997b5a233d08e0645.tar.gz decky-loader-346f80beb31d1e2a95d31a5997b5a233d08e0645.zip | |
bump DFL to fix modals, Router -> Navigation in some placesv2.4.6-pre4
Diffstat (limited to 'frontend/src/components/store')
| -rw-r--r-- | frontend/src/components/store/PluginCard.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/src/components/store/PluginCard.tsx b/frontend/src/components/store/PluginCard.tsx index ffa2d1f1..27f98590 100644 --- a/frontend/src/components/store/PluginCard.tsx +++ b/frontend/src/components/store/PluginCard.tsx @@ -2,8 +2,8 @@ import { DialogButton, Dropdown, Focusable, + Navigation, QuickAccessTab, - Router, SingleDropdownOption, SuspensefulImage, joinClassNames, @@ -38,8 +38,8 @@ const PluginCard: FC<PluginCardProps> = ({ plugin }) => { }} onCancel={(_: CustomEvent) => { if (containerRef.current!.querySelectorAll('* :focus').length === 0) { - Router.NavigateBackOrOpenMenu(); - setTimeout(() => Router.OpenQuickAccessMenu(QuickAccessTab.Decky), 1000); + Navigation.NavigateBack(); + setTimeout(() => Navigation.OpenQuickAccessMenu(QuickAccessTab.Decky), 1000); } else { containerRef.current!.focus(); } |
