diff --git a/src/components/AccountButton.tsx b/src/components/AccountButton.tsx index 187169fc..662d1b14 100644 --- a/src/components/AccountButton.tsx +++ b/src/components/AccountButton.tsx @@ -1,9 +1,13 @@ import { useNavigation } from '@react-navigation/native' import { ReadableAccountType, setAccount } from '@utils/storage/actions' import { StyleConstants } from '@utils/styles/constants' +import { useTheme } from '@utils/styles/ThemeManager' import React from 'react' -import Button from './Button' +import { Pressable } from 'react-native' +import GracefullyImage from './GracefullyImage' import haptics from './haptics' +import Icon from './Icon' +import CustomText from './Text' interface Props { account: ReadableAccountType @@ -11,26 +15,56 @@ interface Props { } const AccountButton: React.FC = ({ account, additionalActions }) => { + const { colors } = useTheme() const navigation = useNavigation() return ( -