1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

JS-3089: fixes

This commit is contained in:
Andrew Simachev 2023-10-12 14:02:53 +02:00
parent 007f289e1b
commit 6e475c558e
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8
6 changed files with 29 additions and 10 deletions

View file

@ -33,6 +33,14 @@ class Api {
win.route = '';
};
logout (win) {
WindowManager.sendToAll('logout');
};
pinCheck (win) {
WindowManager.sendToAll('pin-check');
};
setConfig (win, config) {
ConfigManager.set(config, (err) => Util.send(win, 'config', ConfigManager.config));
};