Skip to content

Commit cafdcf6

Browse files
authored
fix: downloading spinner (#1568)
1 parent 1fae876 commit cafdcf6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/renderer/state.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,9 @@ export class AppState {
943943

944944
const { version } = ver;
945945

946+
console.log(`State: Switching to Electron ${version}`);
947+
this.version = version;
948+
946949
try {
947950
await this.downloadVersion(ver);
948951
} catch {
@@ -955,9 +958,6 @@ export class AppState {
955958
return;
956959
}
957960

958-
console.log(`State: Switching to Electron ${version}`);
959-
this.version = version;
960-
961961
// If there's no current fiddle,
962962
// or if the current fiddle is the previous version's template,
963963
// then load the new version's template.

0 commit comments

Comments
 (0)