add debug logs

This commit is contained in:
Igor Sirotin 2024-06-28 21:45:22 +02:00
parent e0f523decb
commit f1d5dd351b
1 changed files with 18 additions and 1 deletions

View File

@ -1163,7 +1163,11 @@ Item {
return Constants.appViewStackIndex.node return Constants.appViewStackIndex.node
// We should never end up here // We should never end up here
console.error("AppMain: Unknown section type") console.error("AppMain: Unknown section type: ", activeSectionType)
}
onCurrentIndexChanged: {
console.log("<<< AppMain: current index changed: ", currentIndex)
} }
// NOTE: // NOTE:
@ -1320,6 +1324,12 @@ Item {
Loader { Loader {
active: appView.currentIndex === Constants.appViewStackIndex.profile active: appView.currentIndex === Constants.appViewStackIndex.profile
asynchronous: true asynchronous: true
onActiveChanged: {
console.log("<<< ProfileLayout Loader active changed: ", active)
}
onStatusChanged: {
console.log("<<< ProfileLayout Loader status changed: ", status)
}
sourceComponent: ProfileLayout { sourceComponent: ProfileLayout {
store: appMain.rootStore.profileSectionStore store: appMain.rootStore.profileSectionStore
globalStore: appMain.rootStore globalStore: appMain.rootStore
@ -1331,6 +1341,13 @@ Item {
walletAssetsStore: appMain.walletAssetsStore walletAssetsStore: appMain.walletAssetsStore
collectiblesStore: appMain.walletCollectiblesStore collectiblesStore: appMain.walletCollectiblesStore
currencyStore: appMain.currencyStore currencyStore: appMain.currencyStore
Component.onCompleted: {
console.log("<<< ProfileLayout component completed")
}
Component.onDestruction: {
console.log("<<< ProfileLayout component destruction")
}
} }
} }