diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/features/todos/components/TodosWebview.js | 2 | ||||
-rw-r--r-- | src/index.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/features/todos/components/TodosWebview.js b/src/features/todos/components/TodosWebview.js index 412013dcb..c612702b0 100644 --- a/src/features/todos/components/TodosWebview.js +++ b/src/features/todos/components/TodosWebview.js | |||
@@ -134,7 +134,7 @@ class TodosWebview extends Component { | |||
134 | const webViewInstance = this; | 134 | const webViewInstance = this; |
135 | this.webview.addEventListener('dom-ready', () => { | 135 | this.webview.addEventListener('dom-ready', () => { |
136 | webViewInstance.webview.setUserAgent(userAgent(true)); | 136 | webViewInstance.webview.setUserAgent(userAgent(true)); |
137 | }) | 137 | }); |
138 | } | 138 | } |
139 | 139 | ||
140 | startResize = (event) => { | 140 | startResize = (event) => { |
diff --git a/src/index.js b/src/index.js index 85aa9d1b9..484191f2e 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -152,8 +152,8 @@ const createWindow = () => { | |||
152 | const mainWindowState = windowStateKeeper({ | 152 | const mainWindowState = windowStateKeeper({ |
153 | defaultWidth: DEFAULT_WINDOW_OPTIONS.width, | 153 | defaultWidth: DEFAULT_WINDOW_OPTIONS.width, |
154 | defaultHeight: DEFAULT_WINDOW_OPTIONS.height, | 154 | defaultHeight: DEFAULT_WINDOW_OPTIONS.height, |
155 | maximize: false, | 155 | maximize: true, // Automatically maximizes the window, if it was last clsoed maximized |
156 | fullScreen: false, | 156 | fullScreen: true, // Automatically restores the window to full screen, if it was last closed full screen |
157 | }); | 157 | }); |
158 | 158 | ||
159 | let posX = mainWindowState.x || DEFAULT_WINDOW_OPTIONS.x; | 159 | let posX = mainWindowState.x || DEFAULT_WINDOW_OPTIONS.x; |