forked from ZeusLN/zeus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Navigation.ts
118 lines (111 loc) · 2.88 KB
/
Navigation.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import { createAppContainer } from 'react-navigation';
import { createStackNavigator } from 'react-navigation-stack';
// Views
import Transaction from './views/Transaction';
import Wallet from './views/Wallet/Wallet';
import Send from './views/Send';
import LnurlPay from './views/LnurlPay/LnurlPay';
import Receive from './views/Receive';
import PaymentRequest from './views/PaymentRequest';
import AddressQRScanner from './views/AddressQRScanner';
import NodeQRScanner from './views/NodeQRScanner';
import OpenChannel from './views/OpenChannel';
import SendingOnChain from './views/SendingOnChain';
import SendingLightning from './views/SendingLightning';
import Channel from './views/Channel';
import Payment from './views/Payment';
import Invoice from './views/Invoice';
import BTCPayConfigQRScanner from './views/BTCPayConfigQRScanner';
import LNDConnectConfigQRScanner from './views/LNDConnectConfigQRScanner';
import LNDHubQRScanner from './views/LNDHubQRScanner';
import NodeInfo from './views/NodeInfo';
import Lockscreen from './views/Lockscreen';
// Settings views
import Settings from './views/Settings';
import AddEditNode from './views/Settings/AddEditNode';
import CertInstallInstructions from './views/Settings/CertInstallInstructions';
import About from './views/Settings/About';
import Onboarding from './views/Onboarding';
const AppScenes = {
Lockscreen: {
screen: Lockscreen
},
Onboarding: {
screen: Onboarding
},
Wallet: {
screen: Wallet
},
AddressQRCodeScanner: {
screen: AddressQRScanner
},
NodeQRCodeScanner: {
screen: NodeQRScanner
},
Settings: {
screen: Settings
},
AddEditNode: {
screen: AddEditNode
},
CertInstallInstructions: {
screen: CertInstallInstructions
},
About: {
screen: About
},
Transaction: {
screen: Transaction
},
Channel: {
screen: Channel
},
Payment: {
screen: Payment
},
Invoice: {
screen: Invoice
},
Send: {
screen: Send
},
LnurlPay: {
screen: LnurlPay
},
Receive: {
screen: Receive
},
PaymentRequest: {
screen: PaymentRequest
},
OpenChannel: {
screen: OpenChannel
},
SendingOnChain: {
screen: SendingOnChain
},
SendingLightning: {
screen: SendingLightning
},
BTCPayConfigQRScanner: {
screen: BTCPayConfigQRScanner
},
LNDConnectConfigQRScanner: {
screen: LNDConnectConfigQRScanner
},
LNDHubQRScanner: {
screen: LNDHubQRScanner
},
NodeInfo: {
screen: NodeInfo
}
};
const AppNavigator = createStackNavigator(AppScenes, {
headerMode: 'none',
mode: 'modal',
defaultNavigationOptions: {
gestureEnabled: false
}
});
const Navigation = createAppContainer(AppNavigator);
export default Navigation;