From 29f8e1e60d7f9aad52b7e551cf0497e5cc86b34b Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Thu, 24 Feb 2022 12:15:13 +0100 Subject: fix: Stop spinner after in-page navigation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kristóf Marussy --- packages/main/src/infrastructure/electron/impl/ElectronServiceView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/main/src/infrastructure/electron/impl/ElectronServiceView.ts b/packages/main/src/infrastructure/electron/impl/ElectronServiceView.ts index c4f7e4d..6ff8e21 100644 --- a/packages/main/src/infrastructure/electron/impl/ElectronServiceView.ts +++ b/packages/main/src/infrastructure/electron/impl/ElectronServiceView.ts @@ -80,7 +80,7 @@ export default class ElectronServiceView implements ServiceView { service.startedLoading(); }); - webContents.on('did-finish-load', () => { + webContents.on('did-stop-loading', () => { service.finishedLoading(); }); -- cgit v1.2.3-54-g00ecf