summaryrefslogtreecommitdiff
path: root/frontend/src/plugin-loader.tsx
diff options
context:
space:
mode:
authorAAGaming <aagaming@riseup.net>2024-07-28 19:56:53 -0400
committerAAGaming <aagaming@riseup.net>2024-08-03 14:04:22 -0400
commit3cb150b9fbe37d8df001c456d7bef957f5cd92f7 (patch)
tree590583df559ecba3eee1caf882478388efe29492 /frontend/src/plugin-loader.tsx
parentbac1ef5f4dc4fdddcd87b0b81ed26a8a87af8144 (diff)
downloaddecky-loader-3cb150b9fbe37d8df001c456d7bef957f5cd92f7.tar.gz
decky-loader-3cb150b9fbe37d8df001c456d7bef957f5cd92f7.zip
wait for unlock before showing toasts
Diffstat (limited to 'frontend/src/plugin-loader.tsx')
-rw-r--r--frontend/src/plugin-loader.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/src/plugin-loader.tsx b/frontend/src/plugin-loader.tsx
index 09fb4433..74732ac7 100644
--- a/frontend/src/plugin-loader.tsx
+++ b/frontend/src/plugin-loader.tsx
@@ -211,6 +211,7 @@ class PluginLoader extends Logger {
this.deckyState.setHasLoaderUpdate(true);
if (this.notificationService.shouldNotify('deckyUpdates')) {
this.loaderUpdateToast && this.loaderUpdateToast.dismiss();
+ await this.routerHook.waitForUnlock();
this.loaderUpdateToast = this.toaster.toast({
title: <TranslationHelper transClass={TranslationClass.PLUGIN_LOADER} transText="decky_title" />,
body: (