Fix semicolons

This commit is contained in:
Jorik Schellekens 2020-06-22 11:39:11 +01:00
parent 2294d23b32
commit 3d7427ccca
5 changed files with 16 additions and 16 deletions

View file

@ -38,7 +38,7 @@ export class FontWatcher implements IWatcher {
this.setSystemFont({
useSystemFont: SettingsStore.getValue("useSystemFont"),
font: SettingsStore.getValue("systemFont"),
})
});
this.dispatcherRef = dis.register(this.onAction);
}
@ -50,7 +50,7 @@ export class FontWatcher implements IWatcher {
if (payload.action === Action.UpdateFontSize) {
this.setRootFontSize(payload.size);
} else if (payload.action === Action.UpdateSystemFont) {
this.setSystemFont(payload)
this.setSystemFont(payload);
}
};
@ -65,5 +65,5 @@ export class FontWatcher implements IWatcher {
private setSystemFont = ({useSystemFont, font}) => {
document.body.style.fontFamily = useSystemFont ? font : "";
}
};
}