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
+16 -3

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
+7 -1
View File
@@ -33,12 +33,18 @@ 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 not ShowAnnouncement() if HAS_ANNOUNCEMENT
if not ShowAnnouncement()
m.scene.signalBeacon("AppLaunchComplete")
end if
else
m.scene.signalBeacon("AppLaunchComplete") m.scene.signalBeacon("AppLaunchComplete")
end if end if
CopyLoadingMessagesToCache() CopyLoadingMessagesToCache()
@@ -32,12 +32,17 @@ 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 not ShowAnnouncement() if false
if not ShowAnnouncement()
m.scene.signalBeacon("AppLaunchComplete")
end if
else
m.scene.signalBeacon("AppLaunchComplete") m.scene.signalBeacon("AppLaunchComplete")
end if end if
CopyLoadingMessagesToCache() CopyLoadingMessagesToCache()