mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-10 14:07:59 -05:00
[INJIMOB-3437]: Fixed crash issue due to pop dimiss (#2029)
Signed-off-by: balachandarg-tw <balachandar.g@thoughtworks.com>
This commit is contained in:
@@ -226,8 +226,14 @@ export const SendVPScreen: React.FC<ScanLayoutProps> = props => {
|
||||
OVP_ERROR_MESSAGES.DECLINED,
|
||||
OVP_ERROR_CODE.DECLINED,
|
||||
);
|
||||
controller.GO_TO_HOME();
|
||||
BackHandler.exitApp();
|
||||
controller.overlayDetails?.primaryButtonEvent();
|
||||
setTimeout(
|
||||
() => {
|
||||
controller.GO_TO_HOME();
|
||||
BackHandler.exitApp();
|
||||
},
|
||||
isIOS() ? 400 : 200,
|
||||
);
|
||||
};
|
||||
}
|
||||
return controller.overlayDetails?.primaryButtonEvent;
|
||||
|
||||
Reference in New Issue
Block a user