Fix Toasts

This commit is contained in:
Vendicated 2023-04-04 21:51:03 +02:00
parent 4aa7a052d0
commit 368cb7bc6b
No known key found for this signature in database
GPG Key ID: A1DC0CFB5615D905
1 changed files with 4 additions and 2 deletions

View File

@ -103,8 +103,10 @@ waitFor(["dispatch", "subscribe"], m => {
// This is the same module but this is easier
waitFor(filters.byCode("currentToast?"), m => Toasts.show = m);
waitFor(filters.byCode("currentToast:null"), m => Toasts.pop = m);
waitFor("showToast", m => {
Toasts.show = m.showToast;
Toasts.pop = m.popToast;
});
waitFor(["show", "close"], m => Alerts = m);
waitFor("parseTopic", m => Parser = m);