converted info dialog to new pattern

This commit is contained in:
zadam
2022-06-16 19:53:33 +02:00
parent 9707094686
commit ec087ed328
8 changed files with 80 additions and 59 deletions

View File

@@ -0,0 +1,10 @@
import appContext from "../services/app_context.js";
async function info(message) {
return new Promise(res =>
appContext.triggerCommand("showInfoDialog", {message, callback: res}));
}
export default {
info
};