restruicture wallet module
This commit is contained in:
parent
ce41388a51
commit
c38d7e2af6
|
@ -1,6 +1,6 @@
|
||||||
import NimQml
|
import NimQml
|
||||||
import Tables
|
import Tables
|
||||||
import chat/core as chat
|
import core as chat
|
||||||
|
|
||||||
type
|
type
|
||||||
RoleNames {.pure.} = enum
|
RoleNames {.pure.} = enum
|
|
@ -1,7 +1,7 @@
|
||||||
import NimQml
|
import NimQml
|
||||||
import applicationView
|
import applicationView
|
||||||
import chats
|
import chat/chatView
|
||||||
import assets
|
import wallet/assetsView
|
||||||
import json
|
import json
|
||||||
import state
|
import state
|
||||||
import status/utils
|
import status/utils
|
||||||
|
@ -71,8 +71,6 @@ proc mainProc() =
|
||||||
let chatsVariant = newQVariant(chatsModel)
|
let chatsVariant = newQVariant(chatsModel)
|
||||||
defer: chatsVariant.delete
|
defer: chatsVariant.delete
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
appState.subscribe(proc () =
|
appState.subscribe(proc () =
|
||||||
chatsModel.names = @[]
|
chatsModel.names = @[]
|
||||||
for channel in appState.channels:
|
for channel in appState.channels:
|
||||||
|
|
Loading…
Reference in New Issue