Skip to content
Snippets Groups Projects
Commit d056f56c authored by Albert  Babí Oller's avatar Albert Babí Oller Committed by Ming Rui Zhang
Browse files

misc: set UI on wizard exit

- switch to welcome view or call view when exiting wizard

Gitlab: #105
Change-Id: Ib6c334b7297b17d92e9292ffb454f6430b3e7034
parent 3af4a838
No related branches found
No related tags found
No related merge requests found
......@@ -366,10 +366,26 @@ Window {
onNeedToShowMainViewWindow: {
mainViewStackLayout.currentIndex = 0
// TODO: to be simplified in the refactor
if (!inSettingsView) {
if (currentAccountIsCalling()) {
setCallStackView()
} else {
showWelcomeView()
}
}
}
onWizardViewIsClosed: {
mainViewStackLayout.currentIndex = 0
// TODO: to be simplified in the refactor
if (!inSettingsView) {
if (currentAccountIsCalling()) {
setCallStackView()
} else {
showWelcomeView()
}
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment