Remove announcement

This commit is contained in:
Brahim Hadriche committed 2025-06-16 20:08:14 -04:00
1 parent 840474c20c
commit c66f1376a1
3 files changed
+14 -1

No files matched your search

+3 -1
View File
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
- Nothing worth mentioning yet. ### Fixed
- Few changes preparing for app store submission
## [0.40.3] - 2025-06-16 ## [0.40.3] - 2025-06-16
+6
View File
@@ -33,14 +33,20 @@ function SetScenePalette(scene as object) as void
scene.palette = palette scene.palette = palette
end function end function
const HAS_ANNOUNCEMENT = false
function MainSceneContainerChanged() function MainSceneContainerChanged()
AutoBindSceneGraph() AutoBindSceneGraph()
StartWebServer() StartWebServer()
HideLoadingScreen() HideLoadingScreen()
InitEcpArgs() InitEcpArgs()
if HAS_ANNOUNCEMENT
if not ShowAnnouncement() if not ShowAnnouncement()
m.scene.signalBeacon("AppLaunchComplete") m.scene.signalBeacon("AppLaunchComplete")
end if end if
else
m.scene.signalBeacon("AppLaunchComplete")
end if
CopyLoadingMessagesToCache() CopyLoadingMessagesToCache()
end function end function
@@ -32,14 +32,19 @@ function SetScenePalette(scene as object) as void
scene.palette = palette scene.palette = palette
end function end function
function MainSceneContainerChanged() function MainSceneContainerChanged()
AutoBindSceneGraph() AutoBindSceneGraph()
StartWebServer() StartWebServer()
HideLoadingScreen() HideLoadingScreen()
InitEcpArgs() InitEcpArgs()
if false
if not ShowAnnouncement() if not ShowAnnouncement()
m.scene.signalBeacon("AppLaunchComplete") m.scene.signalBeacon("AppLaunchComplete")
end if end if
else
m.scene.signalBeacon("AppLaunchComplete")
end if
CopyLoadingMessagesToCache() CopyLoadingMessagesToCache()
end function end function