From c66f1376a1191062e0851ddef46eb93c41a2ec05 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Mon, 16 Jun 2025 20:08:14 -0400 Subject: [PATCH] Remove announcement --- CHANGELOG.md | 4 +++- playlet-lib/src/components/MainScene.bs | 8 +++++++- playlet-lib/src/components/MainScene.transpiled.brs | 7 ++++++- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e99099c..6cf151f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing worth mentioning yet. +### Fixed + +- Few changes preparing for app store submission ## [0.40.3] - 2025-06-16 diff --git a/playlet-lib/src/components/MainScene.bs b/playlet-lib/src/components/MainScene.bs index 3d754c51..f9dd031a 100644 --- a/playlet-lib/src/components/MainScene.bs +++ b/playlet-lib/src/components/MainScene.bs @@ -33,12 +33,18 @@ function SetScenePalette(scene as object) as void scene.palette = palette end function +const HAS_ANNOUNCEMENT = false + function MainSceneContainerChanged() AutoBindSceneGraph() StartWebServer() HideLoadingScreen() InitEcpArgs() - if not ShowAnnouncement() + if HAS_ANNOUNCEMENT + if not ShowAnnouncement() + m.scene.signalBeacon("AppLaunchComplete") + end if + else m.scene.signalBeacon("AppLaunchComplete") end if CopyLoadingMessagesToCache() diff --git a/playlet-lib/src/components/MainScene.transpiled.brs b/playlet-lib/src/components/MainScene.transpiled.brs index ac2a0f54..a25ec44d 100644 --- a/playlet-lib/src/components/MainScene.transpiled.brs +++ b/playlet-lib/src/components/MainScene.transpiled.brs @@ -32,12 +32,17 @@ function SetScenePalette(scene as object) as void scene.palette = palette end function + function MainSceneContainerChanged() AutoBindSceneGraph() StartWebServer() HideLoadingScreen() InitEcpArgs() - if not ShowAnnouncement() + if false + if not ShowAnnouncement() + m.scene.signalBeacon("AppLaunchComplete") + end if + else m.scene.signalBeacon("AppLaunchComplete") end if CopyLoadingMessagesToCache()