diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ac0e8d5..b3cc023f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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** diff --git a/src/components/MainScene.bs b/src/components/MainScene.bs index 4c4b500c..eba78386 100644 --- a/src/components/MainScene.bs +++ b/src/components/MainScene.bs @@ -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