mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
fix(INJI-329): fix received card expand view and redirect the user to history screen after VC transfer (#799)
* fix(INJI-329): remove onboarding related code from MyVcs machine to show the expanded view of received card Onboarding is used to check whether we need to show the intro sliders or not now it is handled differently in AppLayout * fix(INJI-329): redirect the user to the history screen after successfull vc share * fix(INJI-329): show incoming card screen on the verifier after closing the success popup redirect the user to received cards screen if user clicks on view received card button and QR code screen if clicks on back button * refactor(INJI-329): extract bottom tab, scan and request screen names into separate file to maintain the consistency * refactor(INJI-329): remove activeTab from routeConstants as it is not being used before new UI merge we have 3 different tabs in home screen and activeTab is used for displaying the current active tab
This commit is contained in:
@@ -15,6 +15,7 @@ import {
|
||||
useNavigation,
|
||||
} from '@react-navigation/native';
|
||||
import { MainBottomTabParamList } from '../../routes/main';
|
||||
import { BOTTOM_TAB_ROUTES } from '../../routes/routesConstants';
|
||||
|
||||
type RequestStackParamList = {
|
||||
RequestScreen: undefined;
|
||||
@@ -56,7 +57,7 @@ export const RequestScreen: React.FC = () => {
|
||||
isVisible={controller.isMinimumStorageLimitReached}
|
||||
error="errors.storageLimitReached"
|
||||
onDismiss={() => {
|
||||
navigation.navigate('Home');
|
||||
navigation.navigate(BOTTOM_TAB_ROUTES.home);
|
||||
}}
|
||||
translationPath="RequestScreen"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user