summaryrefslogtreecommitdiff
path: root/frontend/src/router-hook.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/router-hook.tsx
parentbac1ef5f4dc4fdddcd87b0b81ed26a8a87af8144 (diff)
downloaddecky-loader-3cb150b9fbe37d8df001c456d7bef957f5cd92f7.tar.gz
decky-loader-3cb150b9fbe37d8df001c456d7bef957f5cd92f7.zip
wait for unlock before showing toasts
Diffstat (limited to 'frontend/src/router-hook.tsx')
-rw-r--r--frontend/src/router-hook.tsx3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/src/router-hook.tsx b/frontend/src/router-hook.tsx
index 6e7f5ee1..98aa6863 100644
--- a/frontend/src/router-hook.tsx
+++ b/frontend/src/router-hook.tsx
@@ -173,10 +173,9 @@ class RouterHook extends Logger {
}
}
- private async waitForUnlock() {
+ public async waitForUnlock() {
try {
while (window?.securitystore?.IsLockScreenActive?.()) {
- this.debug('Waiting 500ms for lockscreen to close');
await sleep(500);
}
} catch (e) {