style: home screen first pass
This commit is contained in:
parent
f035129537
commit
cc2e608bc4
@ -10,7 +10,6 @@ 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";
|
|
||||||
|
|
||||||
const ShowPKDialog = () => {
|
const ShowPKDialog = () => {
|
||||||
const { currentIndex } = useAccounts();
|
const { currentIndex } = useAccounts();
|
||||||
@ -19,8 +18,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}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user