mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
FIX: Fixed total dismiss of create tx screen.
This commit is contained in:
parent
df61a5f211
commit
baad2c7348
4 changed files with 6 additions and 4 deletions
|
@ -236,6 +236,7 @@ export default class ScanLndInvoice extends React.Component {
|
|||
<Text style={{ color: '#81868e', fontSize: 12, left: 20, top: 10 }}>Expires in: {this.state.expiresIn}</Text>
|
||||
)}
|
||||
<BlueSpacing20 />
|
||||
<BlueSpacing20 />
|
||||
{this.state.isLoading ? (
|
||||
<View>
|
||||
<ActivityIndicator />
|
||||
|
|
|
@ -82,7 +82,6 @@ export default class SendDetails extends Component {
|
|||
}
|
||||
|
||||
processAddressData = data => {
|
||||
this.props.navigation.goBack(null);
|
||||
this.setState(
|
||||
{ isLoading: true },
|
||||
() => {
|
||||
|
|
|
@ -32,6 +32,10 @@ export default class CameraExample extends React.Component {
|
|||
Permissions.request('camera').then(response => {
|
||||
// Response is one of: 'authorized', 'denied', 'restricted', or 'undetermined'
|
||||
this.setState({ hasCameraPermission: response === 'authorized' });
|
||||
if (response !== 'authorized') {
|
||||
alert('BlueWallet does not have permission to use your camera.');
|
||||
this.props.navigation.goBack(null);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -48,8 +52,6 @@ export default class CameraExample extends React.Component {
|
|||
if (hasCameraPermission === null) {
|
||||
return <View />;
|
||||
} else if (hasCameraPermission === false) {
|
||||
alert('BlueWallet does not have permission to use your camera.');
|
||||
this.props.navigation.goBack(null);
|
||||
return <View />;
|
||||
} else {
|
||||
return (
|
||||
|
|
|
@ -366,7 +366,7 @@ export default class WalletTransactions extends Component {
|
|||
{(() => {
|
||||
if (this.state.showManageFundsSmallButton) {
|
||||
return (
|
||||
<View style={{ flex: 1, justifyContent: 'space-between', minHeight: 40, alignContent: 'center', flexDirection: 'row' }}>
|
||||
<View style={{ justifyContent: 'space-between', alignContent: 'center', flexDirection: 'row', marginVertical: 8 }}>
|
||||
<TouchableOpacity
|
||||
style={{ left: 10, flexDirection: 'row', flex: 1, alignItems: 'center' }}
|
||||
onPress={() => {
|
||||
|
|
Loading…
Add table
Reference in a new issue