diff --git a/CliClient/tests/models_Revision.js b/CliClient/tests/models_Revision.js index 7bb293765..58303f350 100644 --- a/CliClient/tests/models_Revision.js +++ b/CliClient/tests/models_Revision.js @@ -92,7 +92,7 @@ describe('models_Revision', function() { - How to view a note history%0A%0AWhile all the apps +%C2%A0How does it work?%0A%0AAll the apps save a version of the modified notes every 10 minutes. %0A%0A# `, - expected: [-(19+27+2), 17+67+4], + expected: [-(19 + 27 + 2), 17 + 67 + 4], }, ]; diff --git a/ElectronClient/ElectronAppWrapper.js b/ElectronClient/ElectronAppWrapper.js index 04631d1fc..f75071037 100644 --- a/ElectronClient/ElectronAppWrapper.js +++ b/ElectronClient/ElectronAppWrapper.js @@ -45,8 +45,8 @@ class ElectronAppWrapper { const stateOptions = { - defaultWidth: Math.round(0.8*screen.getPrimaryDisplay().workArea.width), - defaultHeight: Math.round(0.8*screen.getPrimaryDisplay().workArea.height), + defaultWidth: Math.round(0.8 * screen.getPrimaryDisplay().workArea.width), + defaultHeight: Math.round(0.8 * screen.getPrimaryDisplay().workArea.height), file: `window-state-${this.env_}.json`, }; @@ -89,7 +89,7 @@ class ElectronAppWrapper { if (!screen.getDisplayMatching(this.win_.getBounds())) { const { width: windowWidth, height: windowHeight } = this.win_.getBounds(); const { width: primaryDisplayWidth, height: primaryDisplayHeight } = screen.getPrimaryDisplay().workArea; - this.win_.setPosition(primaryDisplayWidth/2 - windowWidth, primaryDisplayHeight/2 - windowHeight); + this.win_.setPosition(primaryDisplayWidth / 2 - windowWidth, primaryDisplayHeight / 2 - windowHeight); } this.win_.loadURL(url.format({ diff --git a/ElectronClient/gui/NoteText2.tsx b/ElectronClient/gui/NoteText2.tsx index 184667dab..421cf454b 100644 --- a/ElectronClient/gui/NoteText2.tsx +++ b/ElectronClient/gui/NoteText2.tsx @@ -109,7 +109,7 @@ function styles_(props:NoteTextProps) { paddingRight: 8, marginRight: theme.paddingLeft, color: theme.textStyle.color, - fontSize: theme.textStyle.fontSize * 1.25 *1.5, + fontSize: theme.textStyle.fontSize * 1.25 * 1.5, backgroundColor: theme.backgroundColor, border: '1px solid', borderColor: theme.dividerColor, diff --git a/ElectronClient/gui/ResourceScreen.tsx b/ElectronClient/gui/ResourceScreen.tsx index d521901df..c6944b329 100644 --- a/ElectronClient/gui/ResourceScreen.tsx +++ b/ElectronClient/gui/ResourceScreen.tsx @@ -162,7 +162,7 @@ class ResourceScreenComponent extends React.Component {
{this.state.isLoading &&
{_('Please wait...')}
} - {!this.state.isLoading &&
+ {!this.state.isLoading &&
{!this.state.resources &&
{_('No resources!')}