reverse debug change

This commit is contained in:
Gaelle Braud 2023-12-22 11:37:34 +01:00
parent 18ad29338c
commit 4ed07c9104

View file

@ -23,17 +23,17 @@ Window {
AccountProxy{ AccountProxy{
id: accountProxy id: accountProxy
// onHaveAccountChanged: { onHaveAccountChanged: {
// if(haveAccount) if(haveAccount)
// mainWindowStackView.replace(mainPage, StackView.Immediate) mainWindowStackView.replace(mainPage, StackView.Immediate)
// else else
// mainWindowStackView.replace(loginPage, StackView.Immediate) mainWindowStackView.replace(loginPage, StackView.Immediate)
// } }
} }
StackView { StackView {
id: mainWindowStackView id: mainWindowStackView
anchors.fill: parent anchors.fill: parent
initialItem: welcomePage initialItem: accountProxy.haveAccount ? mainPage : welcomePage
} }
Component { Component {
id: welcomePage id: welcomePage