Skip to content

Commit

Permalink
Delay idleModeTimer until splash screen has closed
Browse files Browse the repository at this point in the history
If the UI loads before the splash screen has finished, the
idleModeTimer starts too early, resulting in an odd visual effect
where the nav bar disappears and reappears when tapped.
  • Loading branch information
blammit committed Nov 6, 2023
1 parent e21422c commit ac5fa88
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pages/PageManager.qml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ QtObject {
|| root.interactivity === VenusOS.PageManager_InteractionMode_Idle

property Timer idleModeTimer: Timer {
running: root.currentPage !== null && root.currentPage !== undefined
running: !Global.splashScreenVisible
&& root.currentPage !== null && root.currentPage !== undefined
&& root.currentPage.fullScreenWhenIdle
&& root.interactivity === VenusOS.PageManager_InteractionMode_Interactive
&& BackendConnection.applicationVisible
Expand Down

0 comments on commit ac5fa88

Please sign in to comment.