2024-05-20 11:54:13 +02:00
|
|
|
import React from 'react';
|
2024-06-06 19:04:50 +02:00
|
|
|
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
|
|
|
import navigationStyle from '../components/navigationStyle';
|
2024-05-20 11:54:13 +02:00
|
|
|
import { useTheme } from '../components/themes';
|
2024-05-11 18:33:55 +02:00
|
|
|
import loc from '../loc';
|
2024-05-20 11:54:13 +02:00
|
|
|
import { AztecoRedeemComponent, SelectWalletComponent } from './LazyLoadAztecoRedeemStack';
|
2024-05-11 18:33:55 +02:00
|
|
|
|
|
|
|
const Stack = createNativeStackNavigator();
|
|
|
|
|
|
|
|
const AztecoRedeemStackRoot = () => {
|
|
|
|
const theme = useTheme();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Stack.Navigator screenOptions={{ headerShadowVisible: false }}>
|
|
|
|
<Stack.Screen
|
|
|
|
name="AztecoRedeem"
|
|
|
|
component={AztecoRedeemComponent}
|
2024-06-06 19:04:50 +02:00
|
|
|
options={navigationStyle({
|
2024-05-11 18:33:55 +02:00
|
|
|
title: loc.azteco.title,
|
|
|
|
statusBarStyle: 'auto',
|
2024-06-06 19:04:50 +02:00
|
|
|
})(theme)}
|
2024-05-11 18:33:55 +02:00
|
|
|
/>
|
|
|
|
<Stack.Screen
|
|
|
|
name="SelectWallet"
|
|
|
|
component={SelectWalletComponent}
|
|
|
|
options={navigationStyle({
|
|
|
|
title: loc.wallets.select_wallet,
|
|
|
|
})(theme)}
|
|
|
|
/>
|
|
|
|
</Stack.Navigator>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default AztecoRedeemStackRoot;
|