style: home screen first pass

This commit is contained in:
Cody Bender 2024-08-09 13:19:39 -04:00
parent f035129537
commit 02c267db5c

View File

@ -10,7 +10,7 @@ import styles from "../styles/stylesheet";
import { getPathKey } from "../utils/misc"; import { getPathKey } from "../utils/misc";
import { useNetworks } from "../context/NetworksContext"; import { useNetworks } from "../context/NetworksContext";
import { useAccounts } from "../context/AccountsContext"; import { useAccounts } from "../context/AccountsContext";
import { Text, useTheme } from "react-native-paper"; import { useTheme } from "react-native-paper";
const ShowPKDialog = () => { const ShowPKDialog = () => {
const { currentIndex } = useAccounts(); const { currentIndex } = useAccounts();
@ -19,8 +19,6 @@ const ShowPKDialog = () => {
const [privateKey, setPrivateKey] = useState<string>(); const [privateKey, setPrivateKey] = useState<string>();
const [showPKDialog, setShowPKDialog] = useState<boolean>(false); const [showPKDialog, setShowPKDialog] = useState<boolean>(false);
const theme = useTheme();
const handleShowPrivateKey = async () => { const handleShowPrivateKey = async () => {
const pathKey = await getPathKey( const pathKey = await getPathKey(
`${selectedNetwork!.namespace}:${selectedNetwork!.chainId}`, `${selectedNetwork!.namespace}:${selectedNetwork!.chainId}`,