From 1db9e1b151cd2458c37b963c60df80ef98fd32df Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Mon, 13 Sep 2021 09:04:01 -0400 Subject: [PATCH] chore: remove unused imports --- src/app/chat/views/ens.nim | 2 +- src/app/chat/views/messages.nim | 8 +++----- src/app/chat/views/sticker_pack_list.nim | 2 +- src/app/wallet/v1/views/accounts.nim | 2 +- src/app/wallet/v1/views/collectibles.nim | 6 +++--- src/app/wallet/v1/views/tokens.nim | 8 ++++---- src/app/wallet/v1/views/utils.nim | 4 ++-- src/app/wallet/v2/views/settings.nim | 4 ++-- src/app_service/signals/signal_controller.nim | 2 +- 9 files changed, 18 insertions(+), 20 deletions(-) diff --git a/src/app/chat/views/ens.nim b/src/app/chat/views/ens.nim index 824e6c32f4..b68b6999e6 100644 --- a/src/app/chat/views/ens.nim +++ b/src/app/chat/views/ens.nim @@ -1,4 +1,4 @@ -import NimQml, Tables, json, sequtils, chronicles, times, re, sugar, strutils, os, strformat, algorithm +import NimQml, json, sequtils, chronicles, strutils import status/[status, contacts] import status/ens as status_ens diff --git a/src/app/chat/views/messages.nim b/src/app/chat/views/messages.nim index 04237c26fe..1aab9c2399 100644 --- a/src/app/chat/views/messages.nim +++ b/src/app/chat/views/messages.nim @@ -1,17 +1,15 @@ -import NimQml, Tables, json, sequtils, chronicles, times, re, sugar, strutils, os, strformat, algorithm +import NimQml, Tables, json, sequtils, chronicles, times, re, strutils -import status/[status, contacts, mailservers] -import status/ens as status_ens +import status/[status, contacts] import status/messages as status_messages import status/utils as status_utils import status/chat/[chat] -import status/profile/profile import status/types/[message] import ../../../app_service/[main] import ../../../app_service/tasks/[qt, threadpool] import ../../../app_service/tasks/marathon/mailserver/worker -import communities, chat_item, channels_list, communities, community_list, message_list, channel, message_item +import communities, chat_item, channels_list, communities, message_list, channel, message_item logScope: topics = "messages-view" diff --git a/src/app/chat/views/sticker_pack_list.nim b/src/app/chat/views/sticker_pack_list.nim index 4b8229203f..a4ea75a069 100644 --- a/src/app/chat/views/sticker_pack_list.nim +++ b/src/app/chat/views/sticker_pack_list.nim @@ -1,5 +1,5 @@ import NimQml, Tables, sequtils, sugar -import status/chat/stickers, ./sticker_list +import ./sticker_list import status/utils as status_utils import status/types/[sticker] diff --git a/src/app/wallet/v1/views/accounts.nim b/src/app/wallet/v1/views/accounts.nim index eba398d0bb..0392fc37a3 100644 --- a/src/app/wallet/v1/views/accounts.nim +++ b/src/app/wallet/v1/views/accounts.nim @@ -1,7 +1,7 @@ import NimQml, json, sequtils, chronicles, strutils, strformat, json import - status/[status, settings], + status/status, status/wallet as status_wallet, status/types/[rpc_response] import ../../../../constants diff --git a/src/app/wallet/v1/views/collectibles.nim b/src/app/wallet/v1/views/collectibles.nim index 5331352ef5..7100807e31 100644 --- a/src/app/wallet/v1/views/collectibles.nim +++ b/src/app/wallet/v1/views/collectibles.nim @@ -1,8 +1,8 @@ -import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, tables -import NimQml, json, sequtils, chronicles, strutils, strformat, json +import atomics, strutils, sequtils, json +import NimQml, json, sequtils, chronicles, strutils, json import - status/[status, settings, wallet, tokens, utils], + status/[status, wallet], status/wallet/collectibles as status_collectibles import ../../../../app_service/[main] import ../../../../app_service/tasks/[qt, threadpool] diff --git a/src/app/wallet/v1/views/tokens.nim b/src/app/wallet/v1/views/tokens.nim index 4d9baf8488..bb85e6e5b6 100644 --- a/src/app/wallet/v1/views/tokens.nim +++ b/src/app/wallet/v1/views/tokens.nim @@ -1,9 +1,9 @@ -import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, tables, chronicles, web3/[ethtypes, conversions], stint -import NimQml, json, sequtils, chronicles, strutils, strformat, json +import strutils, sequtils, json, chronicles, web3/[ethtypes, conversions], stint +import NimQml, json, sequtils, chronicles, strutils, json -import status/[status, settings, wallet, tokens, utils] +import status/[status, wallet, tokens, utils] import ../../../../app_service/[main] -import account_list, account_item, transaction_list, accounts, asset_list, token_list +import account_item, accounts, asset_list, token_list logScope: topics = "tokens-view" diff --git a/src/app/wallet/v1/views/utils.nim b/src/app/wallet/v1/views/utils.nim index da5aae3cd7..e9380d972c 100644 --- a/src/app/wallet/v1/views/utils.nim +++ b/src/app/wallet/v1/views/utils.nim @@ -1,5 +1,5 @@ -import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, tables, chronicles, web3/[ethtypes, conversions], stint -import NimQml, json, sequtils, chronicles, strutils, strformat, json +import strutils, sequtils, json, web3/[ethtypes, conversions], stint +import NimQml, json, sequtils, chronicles, strutils, json logScope: topics = "utils-view" diff --git a/src/app/wallet/v2/views/settings.nim b/src/app/wallet/v2/views/settings.nim index 3999e249b1..b74fab9ad8 100644 --- a/src/app/wallet/v2/views/settings.nim +++ b/src/app/wallet/v2/views/settings.nim @@ -1,5 +1,5 @@ -import atomics, strformat, strutils, sequtils, json, std/wrapnils, parseUtils, tables, chronicles, web3/[ethtypes, conversions], stint -import NimQml, json, sequtils, chronicles, strutils, strformat, json +import strutils, sequtils, json, web3/[ethtypes, conversions], stint +import NimQml, sequtils, chronicles logScope: topics = "settings-view" diff --git a/src/app_service/signals/signal_controller.nim b/src/app_service/signals/signal_controller.nim index 3b02541757..425120bf0c 100644 --- a/src/app_service/signals/signal_controller.nim +++ b/src/app_service/signals/signal_controller.nim @@ -1,4 +1,4 @@ -import NimQml, json, chronicles, strutils, json_serialization +import NimQml, json, chronicles, json_serialization import status/signals import status/status import eventemitter