address code review
This commit is contained in:
parent
c1f6a0d06d
commit
50fc70adfb
|
@ -10,7 +10,7 @@ type OnboardingController* = ref object of SignalSubscriber
|
|||
variant*: QVariant
|
||||
model*: AccountModel
|
||||
|
||||
proc newController*(events: EventEmitter, model: AccountModel): OnboardingController =
|
||||
proc newController*(model: AccountModel): OnboardingController =
|
||||
result = OnboardingController()
|
||||
result.model = model
|
||||
result.view = newOnboardingView(result.model)
|
||||
|
|
|
@ -63,7 +63,7 @@ proc mainProc() =
|
|||
wallet.init()
|
||||
profile.init($accountsModel.subaccounts) # TODO: use correct account
|
||||
|
||||
var onboarding = onboarding.newController(events, accountsModel)
|
||||
var onboarding = onboarding.newController(accountsModel)
|
||||
onboarding.init()
|
||||
engine.setRootContextProperty("onboardingModel", onboarding.variant)
|
||||
|
||||
|
@ -83,7 +83,7 @@ proc mainProc() =
|
|||
accountsModel.events.on("accountsReady") do(a: Args):
|
||||
appState.addChannel("test")
|
||||
appState.addChannel("test2")
|
||||
|
||||
|
||||
engine.load("../ui/main.qml")
|
||||
|
||||
# Please note that this must use the `cdecl` calling convention because
|
||||
|
|
|
@ -15,10 +15,6 @@ SwipeView {
|
|||
currentItem.txtPassword.focus = true;
|
||||
}
|
||||
|
||||
ListModel {
|
||||
id: generatedAccountsModel
|
||||
}
|
||||
|
||||
Item {
|
||||
id: wizardStep2
|
||||
property int selectedIndex: 0
|
||||
|
|
Loading…
Reference in New Issue