feat: dispatch core's PullCalendar on WindowFocus

Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
This commit is contained in:
Lachezar Lechev 2024-06-11 16:14:35 +03:00
parent 1d6a6cce44
commit 31d4fab6b8
No known key found for this signature in database
GPG key ID: 69BDCB3ED8CE8037

View file

@ -137,6 +137,12 @@ const App = () => {
action: 'PullNotifications'
}
});
services.core.transport.dispatch({
action: 'Ctx',
args: {
action: 'PullCalendar'
}
});
};
if (services.core.active) {
onWindowFocus();