mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
specify return types to match superclass
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
714570443d
commit
717495c4e0
@ -174,11 +174,11 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||
return await this._ipcCall('getAppVersion');
|
||||
}
|
||||
|
||||
supportsAutoLaunch() {
|
||||
supportsAutoLaunch(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
async getAutoLaunchEnabled() {
|
||||
async getAutoLaunchEnabled(): boolean {
|
||||
return await this._ipcCall('getAutoLaunchEnabled');
|
||||
}
|
||||
|
||||
@ -186,11 +186,11 @@ export default class ElectronPlatform extends VectorBasePlatform {
|
||||
return await this._ipcCall('setAutoLaunchEnabled', enabled);
|
||||
}
|
||||
|
||||
supportsMinimizeToTray() {
|
||||
supportsMinimizeToTray(): boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
async getMinimizeToTrayEnabled() {
|
||||
async getMinimizeToTrayEnabled(): boolean {
|
||||
return await this._ipcCall('getMinimizeToTrayEnabled');
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user