Skip to content

Commit

Permalink
PR adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoncalves committed Apr 9, 2024
1 parent 99db08a commit 65e5724
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 16 deletions.
3 changes: 1 addition & 2 deletions src/components/BasicRow/BasicRowWithContact.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { BasicRow, BasicRowProps } from 'components/BasicRow/index'
import { Contact } from 'shared/types'

import UserIcon from '../icons/UserIcon'
import { UserIcon } from 'components/icons/UserIcon'

export interface BasicRowWithContact extends BasicRowProps {
contact: Contact | undefined
Expand Down
2 changes: 1 addition & 1 deletion src/components/button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export const AppButton = ({
) : (
<AppSpinner
size={buttonHeight - defaultPadding * 2}
color={textColor as string}
color={textColor.toString()}
/>
)}
{rightIcon ? (
Expand Down
3 changes: 1 addition & 2 deletions src/components/icons/DeployWalletImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import Svg, { ClipPath, Defs, G, Path, Rect, SvgProps } from 'react-native-svg'

import { sharedColors } from 'src/shared/constants'

const DeployWalletImage = ({
export const DeployWalletImage = ({
width = 232,
height = 352,
...props
Expand Down Expand Up @@ -74,4 +74,3 @@ const DeployWalletImage = ({
</Defs>
</Svg>
)
export default DeployWalletImage
3 changes: 1 addition & 2 deletions src/components/icons/HomeIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { sharedColors } from 'shared/constants'

import { FooterIconInterface } from '.'

const HomeIcon = ({
export const HomeIcon = ({
active = false,
activeColor = sharedColors.primary,
...props
Expand All @@ -17,4 +17,3 @@ const HomeIcon = ({
/>
</Svg>
)
export default HomeIcon
3 changes: 1 addition & 2 deletions src/components/icons/NetworkIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { sharedColors } from 'shared/constants'

import { FooterIconInterface } from '.'

const NetworkIcon = ({
export const NetworkIcon = ({
active = false,
activeColor = sharedColors.primary,
...props
Expand All @@ -17,4 +17,3 @@ const NetworkIcon = ({
/>
</Svg>
)
export default NetworkIcon
2 changes: 0 additions & 2 deletions src/components/icons/UserIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,3 @@ export const UserIcon = ({
/>
</Svg>
)

export default UserIcon
4 changes: 2 additions & 2 deletions src/components/icons/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { StyleProp, TextProps, TextStyle } from 'react-native'
import { ColorValue, StyleProp, TextProps, TextStyle } from 'react-native'
import { SvgProps } from 'react-native-svg'

export interface SVGIconInterface {
Expand All @@ -15,7 +15,7 @@ export interface MaterialIconInterface extends TextProps {

export interface FooterIconInterface extends SvgProps {
active?: boolean
activeColor?: string
activeColor?: ColorValue
}

export { Arrow } from './Arrow'
Expand Down
2 changes: 1 addition & 1 deletion src/screens/settings/RelayDeployScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { sharedHeaderLeftOptions } from 'navigation/index'
import { rootTabsRouteNames } from 'navigation/rootNavigator'
import { homeStackRouteNames } from 'navigation/homeNavigator/types'
import { useWholeWalletWithSetters } from 'shared/wallet'
import DeployWalletImage from 'src/components/icons/DeployWalletImage'
import { DeployWalletImage } from 'components/icons/DeployWalletImage'

import { TokenSymbol } from '../home/TokenImage'

Expand Down
4 changes: 2 additions & 2 deletions src/ux/appFooter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { homeStackRouteNames } from 'navigation/homeNavigator/types'
import { rootTabsRouteNames } from 'navigation/rootNavigator'
import { sharedColors, sharedStyles } from 'shared/constants'
import { castStyle } from 'shared/utils'
import HomeIcon from 'components/icons/HomeIcon'
import NetworkIcon from 'components/icons/NetworkIcon'
import { HomeIcon } from 'components/icons/HomeIcon'
import { NetworkIcon } from 'components/icons/NetworkIcon'
import { ScanIcon } from 'components/icons/ScanIcon'
import TransactionsIcon from 'components/icons/TransactionsIcon'
import UsersIcon from 'components/icons/UsersIcon'
Expand Down

0 comments on commit 65e5724

Please sign in to comment.