mirror of
				https://github.com/tooot-app/app
				synced 2025-06-05 22:19:13 +02:00 
			
		
		
		
	Implemented new dark theme
This commit is contained in:
		| @@ -20,10 +20,9 @@ const ComponentAccount: React.FC<Props> = ({ | ||||
|   onPress: customOnPress, | ||||
|   origin | ||||
| }) => { | ||||
|   const { theme } = useTheme() | ||||
|   const navigation = useNavigation< | ||||
|     StackNavigationProp<TabLocalStackParamList> | ||||
|   >() | ||||
|   const { colors } = useTheme() | ||||
|   const navigation = | ||||
|     useNavigation<StackNavigationProp<TabLocalStackParamList>>() | ||||
|  | ||||
|   const onPress = useCallback(() => { | ||||
|     analytics('search_account_press', { page: origin }) | ||||
| @@ -51,7 +50,7 @@ const ComponentAccount: React.FC<Props> = ({ | ||||
|         </Text> | ||||
|         <Text | ||||
|           numberOfLines={1} | ||||
|           style={[styles.itemAccountAcct, { color: theme.secondary }]} | ||||
|           style={[styles.itemAccountAcct, { color: colors.secondary }]} | ||||
|         > | ||||
|           @{account.acct} | ||||
|         </Text> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user