2024-05-10 03:30:25 +02:00
|
|
|
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
2024-05-20 11:54:13 +02:00
|
|
|
import React from 'react';
|
|
|
|
|
2024-05-10 03:30:25 +02:00
|
|
|
import navigationStyle from '../components/navigationStyle';
|
2024-05-20 11:54:13 +02:00
|
|
|
import { useTheme } from '../components/themes';
|
2024-05-10 03:30:25 +02:00
|
|
|
import loc from '../loc';
|
2024-05-20 11:54:13 +02:00
|
|
|
import { WalletXpubComponent } from './LazyLoadWalletXpubStack';
|
2024-05-10 03:30:25 +02:00
|
|
|
|
|
|
|
const Stack = createNativeStackNavigator();
|
|
|
|
|
|
|
|
const WalletXpubStackRoot = () => {
|
|
|
|
const theme = useTheme();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Stack.Navigator screenOptions={{ headerShadowVisible: false, statusBarStyle: 'light' }} initialRouteName="WalletXpub">
|
|
|
|
<Stack.Screen
|
|
|
|
name="WalletXpub"
|
|
|
|
component={WalletXpubComponent}
|
|
|
|
options={navigationStyle({
|
|
|
|
headerBackVisible: false,
|
|
|
|
headerTitle: loc.wallets.xpub_title,
|
|
|
|
})(theme)}
|
|
|
|
/>
|
|
|
|
</Stack.Navigator>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default WalletXpubStackRoot;
|