style: home screen first pass
This commit is contained in:
parent
f035129537
commit
02c267db5c
@ -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}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user