19import QtQml.StateMachine 1.0 as DSM
20import Dekko.Mail.API 1.0
21import Dekko.Mail.Stores.Accounts 1.0
27 property alias backTargetState: finishedTransition.targetState
28 property alias createTargetState: createTransition.targetState
31 Log.logStatus("NoAccountState::onEntered",
"No accounts state entered");
32 if (stack.currentItem === null) {
33 Log.logStatus(
"NoAccountState::onEntered",
"Pushing NoAccountsUI");
34 WizardActions.wizardNavigateTo(Qt.resolvedUrl(
"../components/NoAccountsUI.qml"), {})
39 console.log(
"Exited no accounts state")
42 DSM.SignalTransition {
44 signal: AccountSetup.createAccount
46 DSM.SignalTransition {
47 id: finishedTransition
48 signal: AccountSetup.goBack