From 3cb150b9fbe37d8df001c456d7bef957f5cd92f7 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Sun, 28 Jul 2024 19:56:53 -0400 Subject: wait for unlock before showing toasts --- frontend/src/plugin-loader.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'frontend/src/plugin-loader.tsx') 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: , body: ( -- cgit v1.2.3