Stop using the AccountRegistry Singleton

This commit is contained in:
Tobias Fella
2023-07-15 17:14:58 +02:00
parent 8d1baab89f
commit b990e3fbcb
6 changed files with 24 additions and 14 deletions

View File

@@ -242,6 +242,7 @@ Kirigami.ApplicationWindow {
function onInitiated() {
if (Controller.accountCount === 0) {
console.warn("9")
pageStack.replace("qrc:/WelcomePage.qml", {});
} else if (!roomListLoaded) {
pageStack.replace(roomListComponent, {