Fix Toasts
This commit is contained in:
parent
4aa7a052d0
commit
368cb7bc6b
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue