mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
ADD: Broadcast on Network options
This commit is contained in:
parent
1bd5086283
commit
f3984bbb31
@ -166,6 +166,17 @@ const WalletsStackNavigator = createStackNavigator(
|
||||
LNDViewAdditionalInvoiceInformation: {
|
||||
screen: LNDViewAdditionalInvoiceInformation,
|
||||
},
|
||||
Broadcast: {
|
||||
screen: Broadcast,
|
||||
navigationOptions: () => ({
|
||||
title: 'Broadcast',
|
||||
headerStyle: {
|
||||
backgroundColor: '#FFFFFF',
|
||||
borderBottomWidth: 0,
|
||||
},
|
||||
headerTintColor: '#0c2550',
|
||||
}),
|
||||
},
|
||||
},
|
||||
{ headerBackTitleVisible: false },
|
||||
);
|
||||
@ -200,9 +211,6 @@ const CreateTransactionStackNavigator = createStackNavigator({
|
||||
headerRight: null,
|
||||
},
|
||||
},
|
||||
Broadcast: {
|
||||
screen: Broadcast,
|
||||
},
|
||||
});
|
||||
|
||||
const LNDCreateInvoiceStackNavigator = createStackNavigator({
|
||||
@ -333,13 +341,6 @@ const MainBottomTabs = createStackNavigator(
|
||||
screen: receiveDetails,
|
||||
},
|
||||
|
||||
Broadcast: {
|
||||
screen: Broadcast,
|
||||
navigationOptions: () => ({
|
||||
title: 'Broadcast tx',
|
||||
}),
|
||||
},
|
||||
|
||||
//
|
||||
|
||||
// LND:
|
||||
|
@ -19,6 +19,7 @@ const NetworkSettings = () => {
|
||||
<ScrollView>
|
||||
<BlueListItem title={'Electrum server'} component={TouchableOpacity} onPress={() => navigate('ElectrumSettings')} />
|
||||
<BlueListItem title={loc.settings.lightning_settings} component={TouchableOpacity} onPress={() => navigate('LightningSettings')} />
|
||||
<BlueListItem title="Broadcast transaction" component={TouchableOpacity} onPress={() => navigate('Broadcast')} />
|
||||
</ScrollView>
|
||||
</SafeBlueArea>
|
||||
);
|
||||
|
@ -268,9 +268,9 @@ export default class WalletDetails extends Component {
|
||||
|
||||
<BlueSpacing20 />
|
||||
{this.renderMarketplaceButton()}
|
||||
<BlueSpacing20 />
|
||||
</React.Fragment>
|
||||
)}
|
||||
<BlueSpacing20 />
|
||||
<BlueButton onPress={() => this.props.navigation.navigate('Broadcast')} title="Broadcast transaction" />
|
||||
<BlueSpacing20 />
|
||||
<TouchableOpacity
|
||||
|
Loading…
Reference in New Issue
Block a user