quick fix for `production is not defined` error

This commit is contained in:
Sale Djenic 2021-10-15 21:58:14 +02:00 committed by Iuri Matias
parent 4f3ca4eb78
commit 7568880f26
2 changed files with 1 additions and 4 deletions

View File

@ -95,7 +95,6 @@ proc delete*(self: AppController) =
self.communityService.delete
proc startupDidLoad*(self: AppController) =
echo "StartupDidLoad"
singletonInstance.engine.load(newQUrl("qrc:///main.qml"))
# self.login.init()
# self.onboarding.init()

View File

@ -240,8 +240,6 @@ proc mainProc() =
initControllers()
appController.start()
# Handle node.stopped signal when user has logged out
status.events.once("nodeStopped") do(a: Args):
# TODO: remove this once accounts are not tracked in the AccountsModel
@ -269,7 +267,7 @@ proc mainProc() =
# https://doc.qt.io/archives/qtjambi-4.5.2_01/com/trolltech/qt/qtjambi-linguist-programmers.html
changeLanguage("en")
#singletonInstance.engine.load(newQUrl("qrc:///main.qml"))
appController.start()
# Please note that this must use the `cdecl` calling convention because
# it will be passed as a regular C function to statusgo_backend. This means that