Fix semicolons
This commit is contained in:
parent
2294d23b32
commit
3d7427ccca
5 changed files with 16 additions and 16 deletions
|
@ -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 : "";
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue