mirror of
				https://github.com/tooot-app/app
				synced 2025-06-05 22:19:13 +02:00 
			
		
		
		
	Fixed #240
This commit is contained in:
		| @@ -3,9 +3,11 @@ import GracefullyImage from '@components/GracefullyImage' | |||||||
| import { useNavigation } from '@react-navigation/native' | import { useNavigation } from '@react-navigation/native' | ||||||
| import { StackNavigationProp } from '@react-navigation/stack' | import { StackNavigationProp } from '@react-navigation/stack' | ||||||
| import { TabLocalStackParamList } from '@utils/navigation/navigators' | import { TabLocalStackParamList } from '@utils/navigation/navigators' | ||||||
|  | import { getInstanceActive } from '@utils/slices/instancesSlice' | ||||||
| import { StyleConstants } from '@utils/styles/constants' | import { StyleConstants } from '@utils/styles/constants' | ||||||
| import React from 'react' | import React from 'react' | ||||||
| import { Pressable, View } from 'react-native' | import { Pressable, View } from 'react-native' | ||||||
|  | import { useSelector } from 'react-redux' | ||||||
|  |  | ||||||
| export interface Props { | export interface Props { | ||||||
|   account: Mastodon.Account | undefined |   account: Mastodon.Account | undefined | ||||||
| @@ -15,6 +17,7 @@ export interface Props { | |||||||
|  |  | ||||||
| const AccountInformationAvatar: React.FC<Props> = ({ account, myInfo, edit }) => { | const AccountInformationAvatar: React.FC<Props> = ({ account, myInfo, edit }) => { | ||||||
|   const navigation = useNavigation<StackNavigationProp<TabLocalStackParamList>>() |   const navigation = useNavigation<StackNavigationProp<TabLocalStackParamList>>() | ||||||
|  |   useSelector(getInstanceActive) | ||||||
|   return ( |   return ( | ||||||
|     <Pressable |     <Pressable | ||||||
|       disabled={!myInfo} |       disabled={!myInfo} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user