Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 24 additions & 23 deletions app/components/Nav/App/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,15 @@ const MultichainAccountGroupDetails = () => {
animationEnabled: true,
}}
/>
<Stack.Screen
name={Routes.MULTICHAIN_ACCOUNTS.WALLET_DETAILS}
component={WalletDetails}
initialParams={route?.params}
options={{
headerShown: false,
animationEnabled: true,
}}
/>
</Stack.Navigator>
);
};
Expand Down Expand Up @@ -741,25 +750,6 @@ const MultichainAccountDetailsActions = () => {
);
};

const MultichainWalletDetails = () => {
const route = useRoute();

return (
<Stack.Navigator
screenOptions={{
headerShown: false,
animationEnabled: false,
}}
>
<Stack.Screen
name={Routes.MULTICHAIN_ACCOUNTS.WALLET_DETAILS}
component={WalletDetails}
initialParams={route?.params}
/>
</Stack.Navigator>
);
};

const MultichainAddressList = () => {
const route = useRoute();

Expand Down Expand Up @@ -923,6 +913,21 @@ const AppFlow = () => {
<Stack.Screen
name={Routes.MULTICHAIN_ACCOUNTS.ACCOUNT_GROUP_DETAILS}
component={MultichainAccountGroupDetails}
options={{
animationEnabled: true,
cardStyleInterpolator: ({ current, layouts }) => ({
cardStyle: {
transform: [
{
translateX: current.progress.interpolate({
inputRange: [0, 1],
outputRange: [layouts.screen.width, 0],
}),
},
],
},
}),
}}
/>
<Stack.Screen
name={Routes.MULTICHAIN_ACCOUNTS.ACCOUNT_CELL_ACTIONS}
Expand All @@ -932,10 +937,6 @@ const AppFlow = () => {
name={Routes.MODAL.MULTICHAIN_ACCOUNT_DETAIL_ACTIONS}
component={MultichainAccountDetailsActions}
/>
<Stack.Screen
name={Routes.MULTICHAIN_ACCOUNTS.WALLET_DETAILS}
component={MultichainWalletDetails}
/>
<Stack.Screen
name={Routes.MULTICHAIN_ACCOUNTS.ADDRESS_LIST}
component={MultichainAddressList}
Expand Down
Loading