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

Commit 63a479d

Browse files
committed
Move channel screens into their own stack navigator
1 parent d94c927 commit 63a479d

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/view/main-mobile.js

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,6 @@ const MainStack = createStackNavigator(
189189
NewAddress,
190190
Password,
191191
LoaderSyncing,
192-
Channels,
193-
ChannelDetail,
194-
ChannelDelete,
195-
ChannelCreate,
196192
Home,
197193
Settings,
198194
SettingsUnit,
@@ -232,12 +228,23 @@ const TransactionStack = createStackNavigator(
232228
stackOptions
233229
);
234230

231+
const ChannelStack = createStackNavigator(
232+
{
233+
Channels,
234+
ChannelDetail,
235+
ChannelDelete,
236+
ChannelCreate,
237+
},
238+
stackOptions
239+
);
240+
235241
const RootStack = createStackNavigator(
236242
{
237243
Main: MainStack,
238244
Invoice: InvoiceStack,
239245
Pay: PayStack,
240246
Transactions: TransactionStack,
247+
Channels: ChannelStack,
241248
Deposit,
242249
},
243250
{

0 commit comments

Comments
 (0)