-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
ae7c187
commit fe3f8a5
Showing
19 changed files
with
210 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
import { MainBottomTabParamList } from './main'; | ||
|
||
export const BOTTOM_TAB_ROUTES = { | ||
home: 'home' as keyof MainBottomTabParamList, | ||
scan: 'scan' as keyof MainBottomTabParamList, | ||
history: 'history' as keyof MainBottomTabParamList, | ||
}; | ||
|
||
export const SCAN_ROUTES = { | ||
ScanScreen: 'ScanScreen' as keyof ScanStackParamList, | ||
SendVcScreen: 'SendVcScreen' as keyof ScanStackParamList, | ||
}; | ||
|
||
export const REQUEST_ROUTES = { | ||
Request: 'Request' as keyof RequestStackParamList, | ||
RequestScreen: 'RequestScreen' as keyof RequestStackParamList, | ||
ReceiveVcScreen: 'ReceiveVcScreen' as keyof RequestStackParamList, | ||
}; | ||
|
||
export type ScanStackParamList = { | ||
ScanScreen: undefined; | ||
SendVcScreen: undefined; | ||
}; | ||
|
||
export type RequestStackParamList = { | ||
Request: undefined; | ||
RequestScreen: undefined; | ||
ReceiveVcScreen: undefined; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.