App dialog signals to comply with certification
This commit is contained in:
1 parent
afe61c2df7
commit
bd3ac7b9c1
2 files changed
+17
-2
No files matched your search
@@ -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/),
|
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).
|
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
|
## [0.36.2] - 2025-02-28
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -54,8 +54,8 @@ function StartWebServer()
|
|||||||
m.dialServer@.StartServer()
|
m.dialServer@.StartServer()
|
||||||
end function
|
end function
|
||||||
|
|
||||||
function ShowAnnouncement()
|
function ShowAnnouncement() as void
|
||||||
DialogUtils.ShowDialogOnce({
|
dialog = DialogUtils.ShowDialogOnce({
|
||||||
messageId: "1736288537"
|
messageId: "1736288537"
|
||||||
title: "Announcement - Playlet backend"
|
title: "Announcement - Playlet backend"
|
||||||
message: [
|
message: [
|
||||||
@@ -68,4 +68,15 @@ function ShowAnnouncement()
|
|||||||
alwaysOnTop: true
|
alwaysOnTop: true
|
||||||
marginWidth: 180
|
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
|
end function
|
||||||
Reference in new issue
Block a user