From 415b1872f004916d3462a1a501f9954d044dfe0d Mon Sep 17 00:00:00 2001 From: Thuc Nguyen Duy Date: Wed, 16 Aug 2023 17:33:06 +0700 Subject: [PATCH] [issue-935] Upgrade UI - Update sorting modal & remove console log --- src/components/Modal/common/PoolSelector.tsx | 5 +++-- src/components/Modal/common/ValidatorSelector.tsx | 10 ++-------- src/hooks/modal/useConfirmModal.ts | 1 - src/hooks/qr/usePayloadScanner.ts | 1 - src/screens/Home/Crypto/BuyToken.tsx | 1 - .../Home/Staking/Balance/StakingBalanceList.tsx | 2 -- src/screens/Transaction/Stake/index.tsx | 1 - src/utils/permission/camera.ts | 6 +++--- src/utils/walletConnect/index.ts | 1 - 9 files changed, 8 insertions(+), 20 deletions(-) diff --git a/src/components/Modal/common/PoolSelector.tsx b/src/components/Modal/common/PoolSelector.tsx index 704241929..f0729d939 100644 --- a/src/components/Modal/common/PoolSelector.tsx +++ b/src/components/Modal/common/PoolSelector.tsx @@ -9,7 +9,7 @@ import useGetNominatorInfo from 'hooks/screen/Staking/useGetNominatorInfo'; import { PREDEFINED_STAKING_POOL } from '@subwallet/extension-base/constants'; import { PoolSelectorField } from 'components/Field/PoolSelector'; import { PoolSelectorDetailModal } from 'components/Modal/common/PoolSelectorDetailModal'; -import { ArrowCounterClockwise, MagnifyingGlass, SortAscending, SortDescending } from 'phosphor-react-native'; +import { ArrowsClockwise, MagnifyingGlass, SortAscending, SortDescending } from 'phosphor-react-native'; import { BasicSelectModal } from 'components/common/SelectModal/BasicSelectModal'; import { ModalRef } from 'types/modalRef'; import { useSubWalletTheme } from 'hooks/useSubWalletTheme'; @@ -249,7 +249,8 @@ export const PoolSelector = ({ chain, onSelectItem, from, poolLoading, selectedP renderCustomItem={renderSortingItem}> {