App dialog signals to comply with certification

This commit is contained in:
Brahim Hadriche committed 2025-02-27 20:16:58 -05:00
1 parent afe61c2df7
commit bd3ac7b9c1
2 files changed
+17 -2

No files matched your search

+4
View File
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
- Nothing worth mentioning yet.
## [0.36.2] - 2025-02-28
### Added
+13 -2
View File
@@ -54,8 +54,8 @@ function StartWebServer()
m.dialServer@.StartServer()
end function
function ShowAnnouncement()
DialogUtils.ShowDialogOnce({
function ShowAnnouncement() as void
dialog = DialogUtils.ShowDialogOnce({
messageId: "1736288537"
title: "Announcement - Playlet backend"
message: [
@@ -68,4 +68,15 @@ function ShowAnnouncement()
alwaysOnTop: true
marginWidth: 180
})
if dialog = invalid
return
end if
m.scene.signalBeacon("AppDialogInitiate")
m.top.observeField("wasClosed", FuncName(OnAnnouncementDialogClosed))
end function
function OnAnnouncementDialogClosed()
m.scene.signalBeacon("AppDialogComplete")
end function