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
5a2bb994
Commit
5a2bb994
authored
May 24, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved paymentResultScreen to the main stack
parent
617b0db3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
AppMainStackNavigator.tsx
src/navigations/AppMainStackNavigator.tsx
+2
-0
PaymentStackNavigation.tsx
src/navigations/PaymentStackNavigation.tsx
+0
-8
No files found.
src/navigations/AppMainStackNavigator.tsx
View file @
5a2bb994
import
{
createNativeStackNavigator
}
from
"@react-navigation/native-stack"
;
import
HomeUserNotLoggedIn
from
"@screens/HomeUserNotLoggedIn"
;
import
PaymentResultScreen
from
"@screens/PaymentResultScreen"
;
import
UserLoginScreen
from
"@screens/UserLoginScreen"
;
import
{
AppBottomTabsNavigator
}
from
"./AppBottomTabsNavigator"
;
import
type
{
ImainStackNavigator
}
from
"./Types"
;
...
...
@@ -15,6 +16,7 @@ const AppMainStackNavigator = () => {
<
Stack
.
Screen
name=
"homeUserNotLoggedIn"
component=
{
HomeUserNotLoggedIn
}
/>
<
Stack
.
Screen
name=
"userLoginScreen"
component=
{
UserLoginScreen
}
/>
<
Stack
.
Screen
name=
"appBottomTabsNavigator"
component=
{
AppBottomTabsNavigator
}
/>
<
Stack
.
Screen
name=
"paymentResultScreen"
component=
{
PaymentResultScreen
}
/>
</
Stack
.
Navigator
>
);
};
...
...
src/navigations/PaymentStackNavigation.tsx
View file @
5a2bb994
...
...
@@ -2,7 +2,6 @@ import { createNativeStackNavigator } from "@react-navigation/native-stack";
import
HomePageWithPaymentOptions
from
"@screens/HomePageWithPaymentOptions"
;
import
NumberAndOtpForPaymentScreen
from
"@screens/NumberAndOtpForPaymentScreen"
;
import
PaymentAmountInputScreen
from
"@screens/PaymentAmountInputScreen"
;
import
PaymentResultScreen
from
"@screens/PaymentResultScreen"
;
import
type
{
IpaymentStackNavigator
}
from
"./Types"
;
const
Stack
=
createNativeStackNavigator
<
IpaymentStackNavigator
>
();
...
...
@@ -22,13 +21,6 @@ const PaymentStackNavigator = () => {
component=
{
NumberAndOtpForPaymentScreen
}
/>
<
Stack
.
Screen
name=
"paymentAmountInputScreen"
component=
{
PaymentAmountInputScreen
}
/>
<
Stack
.
Screen
name=
"paymentResultScreen"
component=
{
PaymentResultScreen
}
options=
{
{
headerShown
:
false
,
}
}
/>
</
Stack
.
Navigator
>
);
};
...
...
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