2018-01-30 22:42:38 +00:00
|
|
|
import React, { Component } from 'react'
|
|
|
|
import { StackNavigator } from 'react-navigation'
|
|
|
|
|
|
|
|
import WalletsList from './wallets/list'
|
|
|
|
import AddWallet from './wallets/add'
|
|
|
|
import WalletDetails from './wallets/details'
|
|
|
|
import WalletExport from './wallets/export'
|
|
|
|
import scanQrWifLegacyAddress from './wallets/scanQrWifLegacyAddress'
|
|
|
|
import scanQrWifSegwitP2SHAddress from './wallets/scanQrWifSegwitP2SHAddress'
|
|
|
|
|
|
|
|
const WalletsNavigator = StackNavigator({
|
|
|
|
WalletsList: {
|
|
|
|
screen: WalletsList
|
|
|
|
},
|
|
|
|
AddWallet: {
|
|
|
|
screen: AddWallet
|
|
|
|
},
|
|
|
|
ScanQrWifLegacyAddress: {
|
|
|
|
screen: scanQrWifLegacyAddress
|
|
|
|
},
|
|
|
|
ScanQrWifSegwitP2SHAddress: {
|
|
|
|
screen: scanQrWifSegwitP2SHAddress
|
|
|
|
},
|
|
|
|
WalletDetails: {
|
|
|
|
screen: WalletDetails
|
|
|
|
},
|
|
|
|
WalletExport: {
|
|
|
|
screen: WalletExport
|
2018-03-17 19:36:30 +02:00
|
|
|
}
|
2018-01-30 22:42:38 +00:00
|
|
|
}, {
|
|
|
|
headerMode: 'none',
|
|
|
|
mode: 'modal'
|
|
|
|
})
|
|
|
|
|
|
|
|
export default WalletsNavigator
|