refactor: remove unused imports

This commit is contained in:
Pascal Precht 2020-06-26 10:56:31 +02:00 committed by Pascal Precht
parent 6683313c83
commit 63d9ee7201
7 changed files with 6 additions and 12 deletions

View File

@ -1,6 +1,3 @@
when defined(macosx):
import algorithm, strutils
if defined(release): if defined(release):
switch("nimcache", "nimcache/release/$projectName") switch("nimcache", "nimcache/release/$projectName")
else: else:

View File

@ -3,7 +3,7 @@ import libstatus/chat as status_chat
import libstatus/stickers as status_stickers import libstatus/stickers as status_stickers
import libstatus/types import libstatus/types
import profile/profile import profile/profile
import chat/[chat, message], wallet import chat/[chat, message]
import ../signals/messages import ../signals/messages
import ens import ens
import eth/common/eth_types import eth/common/eth_types

View File

@ -1,15 +1,12 @@
import strutils import strutils
import profile/profile import profile/profile
import nimcrypto import nimcrypto
import strmisc
import json import json
import strformat import strformat
import libstatus/core import libstatus/core
import stew/byteutils import stew/byteutils
import sequtils
import unicode import unicode
import algorithm import algorithm
import libstatus/settings as status_settings
let domain* = ".stateofus.eth" let domain* = ".stateofus.eth"

View File

@ -1,6 +1,6 @@
import eth/common/eth_types import eth/common/eth_types
import ./core as status, ./types, ./contracts, ./settings, ./utils import ./core as status, ./types, ./contracts, ./settings
import json, json_serialization, tables, chronicles, strutils, sequtils import json, json_serialization, tables, strutils, sequtils
# Retrieves number of sticker packs owned by user # Retrieves number of sticker packs owned by user
# See https://notes.status.im/Q-sQmQbpTOOWCQcYiXtf5g#Read-Sticker-Packs-owned-by-a-user # See https://notes.status.im/Q-sQmQbpTOOWCQcYiXtf5g#Read-Sticker-Packs-owned-by-a-user

View File

@ -100,7 +100,7 @@ type
to*: string to*: string
type type
RpcException* = object of Exception RpcException* = object of CatchableError
type Sticker* = object type Sticker* = object
hash*: string hash*: string

View File

@ -1,4 +1,4 @@
import json, httpclient, json, strformat, stint, strutils, sequtils, chronicles import json, json, strformat, stint, strutils, chronicles
import libstatus, core, types import libstatus, core, types
import ../wallet/account import ../wallet/account

View File

@ -1,4 +1,4 @@
import tables, strformat, strutils, stint, httpclient, json, times import strformat, strutils, stint, httpclient, json
import ../libstatus/wallet as status_wallet import ../libstatus/wallet as status_wallet
import ../libstatus/tokens as status_tokens import ../libstatus/tokens as status_tokens
import ../utils/cache import ../utils/cache