diff --git a/App.tsx b/App.tsx index 11fdee059..fc027c8bb 100644 --- a/App.tsx +++ b/App.tsx @@ -29,6 +29,7 @@ import { KeyboardProvider } from "react-native-keyboard-controller"; import { Provider as PaperProvider } from "react-native-paper"; import { ThirdwebProvider } from "thirdweb/react"; +import { Snackbars } from "@components/Snackbar/Snackbars"; import { xmtpCron, xmtpEngine } from "./components/XmtpEngine"; import config from "./config"; import { @@ -161,6 +162,7 @@ export default function AppWithProviders() { + diff --git a/components/NewAccount/NewAccountScreenComp.tsx b/components/NewAccount/NewAccountScreenComp.tsx index a20551d59..f2f9b3ee3 100644 --- a/components/NewAccount/NewAccountScreenComp.tsx +++ b/components/NewAccount/NewAccountScreenComp.tsx @@ -1,11 +1,11 @@ +import { useAppTheme } from "@theme/useAppTheme"; import { memo } from "react"; - -import { spacing } from "../../theme"; import { Screen } from "../Screen/ScreenComp/Screen"; import { IScreenProps } from "../Screen/ScreenComp/Screen.props"; export const NewAccountScreenComp = memo(function (props: IScreenProps) { const { contentContainerStyle, ...restProps } = props; + const { theme } = useAppTheme(); return ( }