diff --git a/apps/mobile-wallet/src/navigation/InWalletNavigation.tsx b/apps/mobile-wallet/src/navigation/InWalletNavigation.tsx index 86c4ca7d4d..e0d9a210f3 100644 --- a/apps/mobile-wallet/src/navigation/InWalletNavigation.tsx +++ b/apps/mobile-wallet/src/navigation/InWalletNavigation.tsx @@ -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 } @@ -62,8 +62,8 @@ const InWalletTabsNavigation = () => { }} /> ( diff --git a/apps/mobile-wallet/src/screens/Dashboard/AnimatedCirclesBackground.tsx b/apps/mobile-wallet/src/screens/Dashboard/AnimatedCirclesBackground.tsx index a92519c4ae..e168e219fc 100644 --- a/apps/mobile-wallet/src/screens/Dashboard/AnimatedCirclesBackground.tsx +++ b/apps/mobile-wallet/src/screens/Dashboard/AnimatedCirclesBackground.tsx @@ -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 }) diff --git a/apps/mobile-wallet/src/screens/NFTs/NFTSScreen.tsx b/apps/mobile-wallet/src/screens/NFTs/NFTListScreen.tsx similarity index 86% rename from apps/mobile-wallet/src/screens/NFTs/NFTSScreen.tsx rename to apps/mobile-wallet/src/screens/NFTs/NFTListScreen.tsx index 4e03d611a4..28c97c4bc3 100644 --- a/apps/mobile-wallet/src/screens/NFTs/NFTSScreen.tsx +++ b/apps/mobile-wallet/src/screens/NFTs/NFTListScreen.tsx @@ -26,10 +26,13 @@ import { ReceiveNavigationParamList } from '~/navigation/ReceiveNavigation' import { SendNavigationParamList } from '~/navigation/SendNavigation' interface ScreenProps - extends StackScreenProps, + extends StackScreenProps< + InWalletTabsParamList & ReceiveNavigationParamList & SendNavigationParamList, + 'NFTListScreen' + >, BottomBarScrollScreenProps {} -const NFTsScreen = ({ navigation, ...props }: ScreenProps) => { +const NFTListScreen = ({ navigation, ...props }: ScreenProps) => { const { t } = useTranslation() return ( @@ -48,4 +51,4 @@ const NFTsScreen = ({ navigation, ...props }: ScreenProps) => { ) } -export default NFTsScreen +export default NFTListScreen