Skip to content

Commit

Permalink
NFTsScreen -> NFTListScreen
Browse files Browse the repository at this point in the history
  • Loading branch information
mvaivre committed Sep 3, 2024
1 parent cc353e0 commit edfff4d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 4 additions & 4 deletions apps/mobile-wallet/src/navigation/InWalletNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ import FooterMenu from '~/components/footers/FooterMenu'
import AddressesTabNavigation from '~/navigation/AddressesTabNavigation'
import ActivityScreen from '~/screens/ActivityScreen'
import DashboardScreen from '~/screens/Dashboard/DashboardScreen'
import NFTsScreen from '~/screens/NFTs/NFTsScreen'
import NFTListScreen from '~/screens/NFTs/NFTListScreen'

export type InWalletTabsParamList = {
DashboardScreen: undefined
NFTsScreen: undefined
NFTListScreen: undefined
AddressesTabNavigation: undefined
ActivityScreen: undefined
}
Expand Down Expand Up @@ -62,8 +62,8 @@ const InWalletTabsNavigation = () => {
}}
/>
<InWalletTabs.Screen
name="NFTsScreen"
component={NFTsScreen}
name="NFTListScreen"
component={NFTListScreen}
options={{
title: t('NFTs'),
tabBarIcon: ({ color, size, focused }) => (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const AnimatedCirclesBackground = ({ scrollY }: AnimatedCirclesBackgroundProps)
const circle2X = useDerivedValue(() =>
withSpring(screenWidth / 2 + gyroscope.sensor.value.roll * 20, { mass: 40, damping: 20 })
)
const circle2Y = useDerivedValue(() => withSpring(90 + gyroscope.sensor.value.pitch * 20, { mass: 40, damping: 20 }))
const circle2Y = useDerivedValue(() => withSpring(180 + gyroscope.sensor.value.pitch * 20, { mass: 40, damping: 20 }))

const circle3X = useDerivedValue(() =>
withSpring(screenWidth - 50 + gyroscope.sensor.value.roll * 23, { mass: 30, damping: 20 })
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ import { ReceiveNavigationParamList } from '~/navigation/ReceiveNavigation'
import { SendNavigationParamList } from '~/navigation/SendNavigation'

interface ScreenProps
extends StackScreenProps<InWalletTabsParamList & ReceiveNavigationParamList & SendNavigationParamList, 'NFTsScreen'>,
extends StackScreenProps<
InWalletTabsParamList & ReceiveNavigationParamList & SendNavigationParamList,
'NFTListScreen'
>,
BottomBarScrollScreenProps {}

const NFTsScreen = ({ navigation, ...props }: ScreenProps) => {
const NFTListScreen = ({ navigation, ...props }: ScreenProps) => {
const { t } = useTranslation()

return (
Expand All @@ -48,4 +51,4 @@ const NFTsScreen = ({ navigation, ...props }: ScreenProps) => {
)
}

export default NFTsScreen
export default NFTListScreen

0 comments on commit edfff4d

Please sign in to comment.