diff --git a/app/(tabs)/receive.tsx b/app/(tabs)/receive.tsx index 3fe45c6..dd63a95 100644 --- a/app/(tabs)/receive.tsx +++ b/app/(tabs)/receive.tsx @@ -124,6 +124,7 @@ function ReceiveScreenContent({ walletContext }: { walletContext: ReturnType = ['generateMnemonic', 'validateMnemonic', 'createWallet', 'importWallet']; + const requiredFunctions: (keyof WalletService)[] = ['generateMnemonic', 'validateMnemonic', 'createWallet', 'importWallet']; const missingFunctions = requiredFunctions.filter(func => typeof walletService[func] !== 'function'); if (missingFunctions.length > 0) { diff --git a/components/AnimatedNumber.tsx b/components/AnimatedNumber.tsx index 631c636..7b8b918 100644 --- a/components/AnimatedNumber.tsx +++ b/components/AnimatedNumber.tsx @@ -1,5 +1,5 @@ import React, { useEffect } from 'react'; -import { StyleProp, TextStyle } from 'react-native'; +import { StyleProp, TextInput, TextStyle } from 'react-native'; import Animated, { useAnimatedStyle, useSharedValue, @@ -7,7 +7,6 @@ import Animated, { withTiming, useAnimatedProps, } from 'react-native-reanimated'; -import { TextInput } from 'react-native'; const AnimatedTextInput = Animated.createAnimatedComponent(TextInput);