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:
parent
ec3136459d
commit
031c835615
5 changed files with 29 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue