mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 21:48:04 -05:00
* fix(INJI-223): show the camera in scan screen while sharing the VC and click on scan icon Issue Link https://mosip.atlassian.net/browse/INJI-223 * chore: update pod deps' to match development team of 1st project * feat[#211]:[Pooja] fix turncated passcode and confirm password button * feat[#211]:[Pooja] fix truncated histroy title text in iOS * feat[#211]:[Pooja] fix multiple error being displayed when the vc binding fails * fix(INJI-223): disconnect the device while sharing the VC and click on tab icons except scan icon Issue Link https://mosip.atlassian.net/browse/INJI-223 * feat[#211]:[Pooja] fix download card button styles * version code for beta build in pipeline * feat[#211]:[Pooja] add error message when VC activation fails in kebab pop up * chore(INJI-216): bump up tuvali version to v0.4.3 * feat[#225]:[Pooja] fix about inji url in about page * refactor(INJI-223): get the scan string from route config to keep it consistent Issue Link https://mosip.atlassian.net/browse/INJI-223 * feat[mosip#211]:[Pooja] refactor onCancel Co-authored-by: Harsh Vardhan <harsh59v@gmail.com> * feat(INJI-222): add popup for error in decryption * feat(INJI-222): wrap app init component & popups * feat(INJI-222): propagate event from _store to app state machine Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> * chore(INJI-222): move error msg text to errors obj * Implemented Receive Card & Received Cards options in Settings * Fixed all the locals * [Pooja] add quality gate check for critical open bugs in sonar --------- Co-authored-by: PuBHARGAVI <46226958+PuBHARGAVI@users.noreply.github.com> Co-authored-by: vijay151096 <94220135+vijay151096@users.noreply.github.com> Co-authored-by: Harsh Vardhan <harsh59v@gmail.com> Co-authored-by: Pooja Babusingh <68894211+PoojaBabusingh@users.noreply.github.com> Co-authored-by: adityankannan-tw <adityan.kannan@thoughtworks.com> Co-authored-by: Alka <prasadalka1998@gmail.com> Co-authored-by: anil_majji <majjianilkumar050@gmail.com> Co-authored-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
14 lines
488 B
TypeScript
14 lines
488 B
TypeScript
import { useContext } from 'react';
|
|
import { GlobalContext } from '../shared/GlobalContext';
|
|
import { StoreEvents } from '../machines/store';
|
|
|
|
export function useApp() {
|
|
const { appService } = useContext(GlobalContext);
|
|
const storeService = appService.children.get('store');
|
|
return {
|
|
ignoreDecrypt: () => appService.send('DECRYPT_ERROR_DISMISS'),
|
|
IGNORE: () => storeService.send(StoreEvents.IGNORE()),
|
|
TRY_AGAIN: () => storeService.send(StoreEvents.TRY_AGAIN()),
|
|
};
|
|
}
|