Skip to content

Commit

Permalink
expose confirm to app
Browse files Browse the repository at this point in the history
  • Loading branch information
srgooglo committed Jun 27, 2023
1 parent 61ec6cb commit 0252bd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class ComtyApp extends React.Component {
static splashAwaitEvent = "app.initialization.finish"
static async initialize() {
window.app.version = config.package.version
window.app.confirm = antd.Modal.confirm
window.app.message = antd.message
window.app.isCapacitor = window.navigator.userAgent === "capacitor"

Expand Down

0 comments on commit 0252bd6

Please sign in to comment.