Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beasy-mobile
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
G
beasy-mobile
Commits
35af090c
Commit
35af090c
authored
May 24, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
navigate to the paymentResultScreen
parent
8dc74377
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
PaymentAmountInputScreen.tsx
src/screens/PaymentAmountInputScreen.tsx
+1
-1
No files found.
src/screens/PaymentAmountInputScreen.tsx
View file @
35af090c
...
@@ -65,7 +65,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI
...
@@ -65,7 +65,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI
log
.
info
(
"result of transactions"
,
JSON
.
stringify
(
status
,
null
,
2
));
log
.
info
(
"result of transactions"
,
JSON
.
stringify
(
status
,
null
,
2
));
if
(
status
===
"SUCCESS"
)
{
if
(
status
===
"SUCCESS"
)
{
log
.
info
(
"Transaction was a success, navigating to success page"
);
log
.
info
(
"Transaction was a success, navigating to success page"
);
navigation
.
navigate
(
"paymentResultScreen"
);
navigation
.
getParent
()?.
navigate
(
"paymentResultScreen"
);
}
else
if
(
status
===
"FAILED"
)
{
}
else
if
(
status
===
"FAILED"
)
{
log
.
warn
(
"Transaction was a failed, navigating to error page"
);
log
.
warn
(
"Transaction was a failed, navigating to error page"
);
}
else
if
(
status
===
"INITIATED"
)
{
}
else
if
(
status
===
"INITIATED"
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment