diff options
| author | AAGaming <aagaming@riseup.net> | 2024-07-28 19:56:53 -0400 |
|---|---|---|
| committer | AAGaming <aagaming@riseup.net> | 2024-08-03 14:04:22 -0400 |
| commit | 3cb150b9fbe37d8df001c456d7bef957f5cd92f7 (patch) | |
| tree | 590583df559ecba3eee1caf882478388efe29492 /frontend/src/plugin-loader.tsx | |
| parent | bac1ef5f4dc4fdddcd87b0b81ed26a8a87af8144 (diff) | |
| download | decky-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.tsx | 1 |
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: ( |
