Fix super in arrow funcs

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-05-26 10:04:49 +01:00
parent b4284b4c68
commit 3ad3c3ca0a
3 changed files with 15 additions and 8 deletions

View file

@ -388,12 +388,12 @@ export default class ElectronPlatform extends VectorBasePlatform {
return Boolean(feedUrl);
}
startUpdateCheck = () => {
startUpdateCheck() {
if (this.showUpdateCheck) return;
super.startUpdateCheck();
ipcRenderer.send('check_updates');
};
}
installUpdate() {
// IPC to the main process to install the update, since quitAndInstall