Skip to content

Commit 1f18179

Browse files
Fixes lack of check-in when using existing account in upgrade flow
1 parent 7eabb29 commit 1f18179

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/plus/gk/account/subscriptionService.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -757,15 +757,16 @@ export class SubscriptionService implements Disposable {
757757
} catch (ex) {
758758
Logger.error(ex, scope);
759759
void env.openExternal(this.container.getGkDevUri('purchase', query));
760-
take(
761-
window.onDidChangeWindowState,
762-
2,
763-
)(e => {
764-
if (e.focused && this._session != null) {
765-
void this.checkInAndValidate(this._session, { force: true });
766-
}
767-
});
768760
}
761+
762+
take(
763+
window.onDidChangeWindowState,
764+
2,
765+
)(e => {
766+
if (e.focused && this._session != null) {
767+
void this.checkInAndValidate(this._session, { force: true });
768+
}
769+
});
769770
}
770771
await this.showAccountView();
771772
}

0 commit comments

Comments
 (0)