mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 10:42:12 +00:00
feat: dispatch core's PullCalendar on WindowFocus
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
This commit is contained in:
parent
1d6a6cce44
commit
31d4fab6b8
1 changed files with 6 additions and 0 deletions
|
|
@ -137,6 +137,12 @@ const App = () => {
|
|||
action: 'PullNotifications'
|
||||
}
|
||||
});
|
||||
services.core.transport.dispatch({
|
||||
action: 'Ctx',
|
||||
args: {
|
||||
action: 'PullCalendar'
|
||||
}
|
||||
});
|
||||
};
|
||||
if (services.core.active) {
|
||||
onWindowFocus();
|
||||
|
|
|
|||
Loading…
Reference in a new issue