restruicture wallet module

This commit is contained in:
Iuri Matias 2020-05-15 08:27:29 -04:00
parent ce41388a51
commit c38d7e2af6
3 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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: