Fix bug with double screens visible

This commit is contained in:
Brahim Hadriche committed 2022-11-19 14:34:38 -05:00
1 parent 93e59fee65
commit b5f01a10e9
2 files changed
+11 -1

No files matched your search

+4
View File
@@ -4,6 +4,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.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Fixed
- Bug where Settings page and home page are both visible, if settings page is selected, and user logs in.
## [0.3.0] - 2022-11-19
### Changed
- App name! new name: **Playlet**
+7 -1
View File
@@ -76,7 +76,13 @@ function OnWebServerLogin()
m.homeGridScreen = newHomeGridScreen
m.homeGridScreen.id = "HomeGridScreen"
m.homeGridScreen.ObserveField("escape", "OnHomeGridScreenEscape")
m.homeGridScreen.SetFocus(true)
m.navBar.focusIndex = -1
m.homeGridScreen.focus = true
m.searchScreen.visible = false
m.homeGridScreen.visible = true
m.settingsScreen.visible = false
end function
function GetIndexOfChild(parent as object, childId as string) as integer