chore(@desktop): nim compilation warnings - unused imports

This commit is contained in:
Andrei Smirnov 2021-07-20 12:46:20 +03:00 committed by Iuri Matias
parent 9f6a4f7834
commit f73fbe3204
8 changed files with 6 additions and 17 deletions

View File

@ -1,4 +1,4 @@
import NimQml, Tables, std/wrapnils
import NimQml, std/wrapnils
import ../../../status/chat/chat
QtObject:

View File

@ -1,4 +1,4 @@
import NimQml, json, sequtils, chronicles, strutils, strformat, tables
import NimQml, json, sequtils, chronicles, strutils, strformat
import ../../../status/status
import ../../../status/chat/chat
import ./channels_list

View File

@ -1,15 +1,10 @@
import NimQml, sequtils, strutils, sugar, os, json, chronicles
import NimQml, sequtils, strutils, json, chronicles
import chronicles
import ../../chat/views/channels_list
import ../../../status/profile/profile
import ../../../status/profile as status_profile
import ../../../status/contacts as status_contacts
import ../../../status/status
import ../../../status/ens as status_ens
import ../../../status/chat/chat
import ../../../status/types
import ../../../status/constants as accountConstants
import ../../utils/image_utils
logScope:
topics = "muted-chats-view"

View File

@ -1,9 +1,7 @@
import NimQml, os
import chronicles
import profile_info
import ../../../status/profile/profile
import ../../../status/status
import ../../../status/types
import ../../../status/constants as accountConstants
logScope:

View File

@ -2,9 +2,6 @@ import json, sequtils, sugar, chronicles
import libstatus/contacts as status_contacts
import libstatus/accounts as status_accounts
import libstatus/chat as status_chat
import utils as status_utils
import chat/chat
#import chat/utils
import profile/profile
import ../eventemitter

View File

@ -5,7 +5,7 @@ import
nimcrypto, web3/[encoding, ethtypes]
import
../coder, eth, transactions, ../../types # FIXME: 'types' produces a compiler warning, but doesn't compiler without it 🤷‍♂️
../../types, ../coder, eth, transactions
export sendTransaction

View File

@ -3,9 +3,6 @@ import json
import libstatus/mailservers as status_mailservers
import ../eventemitter
#TODO: temporary?
import types as LibStatusTypes
type
MailserversModel* = ref object
events*: EventEmitter

View File

@ -1,3 +1,5 @@
{.used.}
import json, options, typetraits, tables, sequtils, strutils
import web3/ethtypes, json_serialization, stint
import libstatus/accounts/constants