Skip to content

Commit

Permalink
fix(INJI-210): [Bhargavi] show the home screen after closing the succ…
Browse files Browse the repository at this point in the history
…ess status overlay

Issue Link https://mosip.atlassian.net/browse/INJI-210
  • Loading branch information
PuBHARGAVI committed Jul 14, 2023
1 parent 374a484 commit 119be83
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 0 additions & 4 deletions machines/bleShare/commonSelectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ export function selectIsExchangingDeviceInfoTimeout() {
return false;
}

export function selectIsDone(state: State) {
return state.matches('reviewing.navigatingToHistory');
}

export function selectIsOffline() {
return false;
}
Expand Down
4 changes: 4 additions & 0 deletions machines/bleShare/request/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@ export function selectIsSavingFailedInIdle(state: State) {
export function selectIsSavingFailedInViewingVc(state: State) {
return state.matches('reviewing.savingFailed.viewingVc');
}

export function selectIsDone(state: State) {
return state.matches('reviewing.navigatingToHistory');
}
4 changes: 4 additions & 0 deletions machines/bleShare/scan/selectors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,7 @@ export function selectIsQrLoginDone(state: State) {
export function selectIsQrLoginStoring(state: State) {
return state.matches('showQrLogin.storing');
}

export function selectIsDone(state: State) {
return state.matches('reviewing.navigatingToHome');
}
2 changes: 1 addition & 1 deletion screens/Request/RequestLayoutController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import {
selectIsSavingFailedInViewingVc,
selectIsWaitingForConnection,
selectSenderInfo,
selectIsDone,
} from '../../machines/bleShare/request/selectors';
import {
selectIsAccepted,
selectIsDisconnected,
selectIsDone,
selectIsHandlingBleError,
selectIsRejected,
selectIsReviewing,
Expand Down
2 changes: 1 addition & 1 deletion screens/Scan/ScanLayoutController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ import {
selectIsSendingVcTimeout,
selectIsSent,
selectReceiverInfo,
selectIsDone,
} from '../../machines/bleShare/scan/selectors';
import {
selectIsAccepted,
selectIsDisconnected,
selectIsDone,
selectIsExchangingDeviceInfo,
selectIsExchangingDeviceInfoTimeout,
selectIsHandlingBleError,
Expand Down

0 comments on commit 119be83

Please sign in to comment.