Skip to content

Commit

Permalink
fix: hide splash on error
Browse files Browse the repository at this point in the history
Closes #2776
  • Loading branch information
lidel committed Jun 12, 2024
1 parent 82f1196 commit 5b6b7c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ async function run () {
submitAppReady()
}
} catch (e) {
const splash = await getCtx().getProp('splashScreen')
if (splash && !splash.isDestroyed()) splash.hide()
handleError(e)
}
}
Expand Down

0 comments on commit 5b6b7c3

Please sign in to comment.