mirror of https://github.com/vector-im/riot-web
parent
717495c4e0
commit
5a3b9ae454
|
@ -182,7 +182,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||||
return await this._ipcCall('getAutoLaunchEnabled');
|
return await this._ipcCall('getAutoLaunchEnabled');
|
||||||
}
|
}
|
||||||
|
|
||||||
async setAutoLaunchEnabled(enabled: boolean) {
|
async setAutoLaunchEnabled(enabled: boolean): void {
|
||||||
return await this._ipcCall('setAutoLaunchEnabled', enabled);
|
return await this._ipcCall('setAutoLaunchEnabled', enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||||
return await this._ipcCall('getMinimizeToTrayEnabled');
|
return await this._ipcCall('getMinimizeToTrayEnabled');
|
||||||
}
|
}
|
||||||
|
|
||||||
async setMinimizeToTrayEnabled(enabled: boolean) {
|
async setMinimizeToTrayEnabled(enabled: boolean): void {
|
||||||
return await this._ipcCall('setMinimizeToTrayEnabled', enabled);
|
return await this._ipcCall('setMinimizeToTrayEnabled', enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue