This commit is contained in:
Iuri Matias 2020-05-21 17:10:00 -04:00
parent 13bfc56337
commit f59401a80a
2 changed files with 0 additions and 16 deletions

View File

@ -1,13 +1,7 @@
import NimQml
import json
import ../../status/accounts as status_accounts
import nimcrypto
import ../../status/utils
import ../../status/libstatus
import ../../models/accounts as Models
# import ../../constants/constants
import ../signals/types
import uuids
import eventemitter
import view
@ -18,13 +12,9 @@ type OnboardingController* = ref object of SignalSubscriber
proc newController*(events: EventEmitter, model: AccountModel): OnboardingController =
result = OnboardingController()
# TODO: events should be specific to the model itself
# result.model = newAccountModel()
result.model = model
result.view = newOnboardingView(result.model)
result.variant = newQVariant(result.view)
# result.model.events.on("accountsReady") do(a: Args):
# events.emit("node:ready", Args())
proc delete*(self: OnboardingController) =
delete self.view

View File

@ -1,14 +1,8 @@
import NimQml
import Tables
import json
import eventemitter
import ../../status/accounts as status_accounts
import nimcrypto
import ../../status/utils
import ../../status/libstatus
import ../../models/accounts as Models
# import ../../constants/constants
import uuids
type
AddressRoles {.pure.} = enum