Skip to content

Commit

Permalink
fix bug with onboarding screens showing when app is quiting (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirmorrison authored Nov 22, 2023
1 parent 7ecefc6 commit c85f566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/page/start_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func (sp *startPage) Layout(gtx C) D {

// Desktop layout
func (sp *startPage) layoutDesktop(gtx C) D {
if sp.currentPage < 0 {
if sp.currentPage < 0 || sp.isQuitting {
return sp.loadingSection(gtx)
}

Expand Down

0 comments on commit c85f566

Please sign in to comment.