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 Tables
import chat/core as chat
import core as chat
type
RoleNames {.pure.} = enum

View File

@ -1,7 +1,7 @@
import NimQml
import applicationView
import chats
import assets
import chat/chatView
import wallet/assetsView
import json
import state
import status/utils
@ -71,8 +71,6 @@ proc mainProc() =
let chatsVariant = newQVariant(chatsModel)
defer: chatsVariant.delete
appState.subscribe(proc () =
chatsModel.names = @[]
for channel in appState.channels: