Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit f399426

Browse files
committed
Remove SetupStack and in mobile/main.js to keep setup and home screen
on the same horizontal transition layer.
1 parent 8f41969 commit f399426

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

mobile/main.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -117,20 +117,12 @@ const InvoiceQR = () => (
117117

118118
const Pay = () => <PaymentView store={store} payment={payment} nav={nav} />;
119119

120-
const SetupStack = createStackNavigator(
120+
const MainStack = createStackNavigator(
121121
{
122122
SetPassword,
123123
SetPasswordConfirm,
124124
SeedSuccess,
125125
NewAddress,
126-
},
127-
{
128-
headerMode: 'none',
129-
}
130-
);
131-
132-
const MainStack = createStackNavigator(
133-
{
134126
Password,
135127
Wait,
136128
Home,
@@ -165,7 +157,6 @@ const PayStack = createStackNavigator(
165157

166158
const RootStack = createStackNavigator(
167159
{
168-
Setup: SetupStack,
169160
Main: MainStack,
170161
Invoice: InvoiceStack,
171162
Pay: PayStack,

0 commit comments

Comments
 (0)