Skip to content

Commit

Permalink
refactor: upd. SendModal constants
Browse files Browse the repository at this point in the history
  • Loading branch information
zheleznov163 committed Sep 14, 2022
1 parent d7ba62f commit bdf53de
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion modals/wallets/components/templates/SelectCoin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { FlatList } from "react-native-gesture-handler"
import { BottomSheetView } from "@gorhom/bottom-sheet"
import { SendController } from "../../controllers"
import { ButtonCoinSelect } from "../moleculs"
import { HORIZONTAL_WRAPPER } from "modals/wallets/constants"
import { HORIZONTAL_WRAPPER } from "utils/constants"

type Props = {
controller: SendController
Expand Down
3 changes: 0 additions & 3 deletions modals/wallets/constants.ts

This file was deleted.

5 changes: 1 addition & 4 deletions modals/wallets/modals/SendModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ import { SendController } from "../controllers"
import { Header } from "../components/atoms"
import { InsertImport, SendRecap, SelectReceiver, SelectCoin } from "../components/templates"
import { COLOR } from "utils"
import { HORIZONTAL_WRAPPER } from "../constants"
import { Button, ButtonBack, Footer, Icon2 } from "components/atoms"
import { FOOTER_HEIGHT } from "components/atoms/Footer"
import { useSafeAreaInsets } from "react-native-safe-area-context"
import { isValidAddress } from "core/utils/Address"
import { useKeyboard } from "@react-native-community/hooks"
import { useStore } from "hooks"
import { toJS } from "mobx"
import { s, vs } from "react-native-size-matters"
import { HORIZONTAL_WRAPPER } from "utils/constants"

type Props = {
controller: SendController
Expand Down Expand Up @@ -171,9 +170,7 @@ const styles = StyleSheet.create({
//
selectCoin: { marginTop: 15 },
insertImport: {
// flexGrow: 1,
marginHorizontal: HORIZONTAL_WRAPPER,
// marginBottom: FOOTER_HEIGHT + 100,
backgroundColor: "orange",
},
selectReceiver: { flex: 1 },
Expand Down

0 comments on commit bdf53de

Please sign in to comment.