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

JS-6439: Update channel alert

This commit is contained in:
Andrew Simachev 2025-02-20 14:35:54 +01:00
parent ec3136459d
commit 031c835615
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF
5 changed files with 29 additions and 5 deletions

View file

@ -184,6 +184,11 @@ class Api {
Server.stop(signal).then(() => this.shutdown(win, relaunch));
};
setChannel (win, id) {
UpdateManager.setChannel(id);
this.setConfig(win, { channel: id });
};
setInterfaceLang (win, lang) {
ConfigManager.set({ interfaceLang: lang }, () => {
WindowManager.reloadAll();