fix: remove `onSignal` not overridden warnings
Uninherited `ProfileController` and `OnboardingController` from `SignalSubscriber` as they were not listening for signals from the node. Added an `onSignal` dummy method in `WalletController` to make the compiler happy. The main app is assuming this is a `SignalSubscriber` but it is unclear if it being used (maybe it's a WIP).
This commit is contained in:
parent
e1d1880aca
commit
e5bed448ed
|
@ -4,7 +4,7 @@ import ../../signals/types
|
|||
import eventemitter
|
||||
import view
|
||||
|
||||
type OnboardingController* = ref object of SignalSubscriber
|
||||
type OnboardingController* = object
|
||||
view*: OnboardingView
|
||||
variant*: QVariant
|
||||
model*: AccountModel
|
||||
|
|
|
@ -9,7 +9,7 @@ import view
|
|||
import "../../status/types" as status_types
|
||||
import ../../models/profile
|
||||
|
||||
type ProfileController* = ref object of SignalSubscriber
|
||||
type ProfileController* = object
|
||||
view*: ProfileView
|
||||
variant*: QVariant
|
||||
appEvents*: EventEmitter
|
||||
|
|
|
@ -2,6 +2,7 @@ import NimQml
|
|||
import eventemitter
|
||||
import strformat
|
||||
import strutils
|
||||
import chronicles
|
||||
|
||||
import view
|
||||
import ../../status/wallet as status_wallet
|
||||
|
@ -34,3 +35,7 @@ proc init*(self: WalletController) =
|
|||
self.view.addAssetToList(asset)
|
||||
|
||||
self.view.setDefaultAccount(status_wallet.getAccount())
|
||||
|
||||
method onSignal(self: WalletController, data: Signal) =
|
||||
debug "New signal received"
|
||||
discard
|
||||
|
|
Loading…
Reference in New Issue