diff --git a/src/app/onboarding/core.nim b/src/app/onboarding/core.nim index 4d1a656cd8..452a1213f9 100644 --- a/src/app/onboarding/core.nim +++ b/src/app/onboarding/core.nim @@ -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 diff --git a/src/app/onboarding/view.nim b/src/app/onboarding/view.nim index 4f06729656..9edcd2c724 100644 --- a/src/app/onboarding/view.nim +++ b/src/app/onboarding/view.nim @@ -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