Skip to content

Commit dcb3259

Browse files
Set status in WebViewExecutionService too
1 parent 4c1c6b6 commit dcb3259

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/snaps-controllers/src/services/webview/WebViewExecutionService.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ export class WebViewExecutionService extends AbstractExecutionService<WebViewInt
4040
* @returns An object with the webview and stream.
4141
*/
4242
protected async initEnvStream(snapId: string) {
43+
this.setSnapStatus(snapId, 'initializing');
44+
4345
const webView = await this.#createWebView(snapId);
4446

4547
const stream = new WebViewMessageStream({

0 commit comments

Comments
 (0)