From 0252bd643988040b871807b95981680fca806f1a Mon Sep 17 00:00:00 2001 From: SrGooglo Date: Tue, 27 Jun 2023 17:12:45 +0000 Subject: [PATCH] expose confirm to app --- packages/app/src/App.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/app/src/App.jsx b/packages/app/src/App.jsx index 47cc7ee38..59664bc7b 100755 --- a/packages/app/src/App.jsx +++ b/packages/app/src/App.jsx @@ -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"