Update details.js

This commit is contained in:
marcosrdz 2020-06-04 13:27:07 -04:00
parent b56d2b1d18
commit c16f9a871e

View file

@ -1012,11 +1012,12 @@ export default class SendDetails extends Component {
}; };
render() { render() {
const opacity = this.state.isLoading ? 0.5 : 1.0;
return ( return (
<TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}> <TouchableWithoutFeedback onPress={Keyboard.dismiss} accessible={false}>
<View style={styles.root} pointerEvents={this.state.isLoading ? 'none' : 'auto'}> <View style={styles.root} pointerEvents={this.state.isLoading ? 'none' : 'auto'}>
<View> <View>
<View style={{ opacity: this.state.isLoading ? 0.5 : 1.0 }}> <View style={{ opacity: opacity }}>
<KeyboardAvoidingView behavior="position"> <KeyboardAvoidingView behavior="position">
<ScrollView <ScrollView
pagingEnabled pagingEnabled