Untitled
unknown
plain_text
a year ago
2.8 kB
2
Indexable
Never
<Modal animationType={'none'} transparent={true} visible={this.state.block1} onRequestClose={() => this.setState({ block: false })} onDismiss={() => this.setState({ block: false })} > <View style={styles.modalContentContainer}> <View style={styles.main_view}> <View> <SvgXml style={{ alignSelf:'center' }} xml={vibeLogoForInfor} // xml={this.context.contextId == this.state.indexId && !this.context.isplay ? Apptheme.getpauseicon() : Apptheme.getplyericon()} width={Scale(72)} height={Scale(72)} /> <Text style={styles.BlockTxt}>We appreciate your help</Text> <Text style={styles.blockdisclaimer}>This information helps us improve the experiance for everyone.</Text> </View> <View style={styles.done_button}> <TouchableOpacity style={[styles.button_view, { backgroundColor: primaryColor }]} onPress={() => this.setState({ block: false })}> <Text style={styles.button}>Done</Text> </TouchableOpacity> </View> {/* {this.state.block_confirmed ? <View style={styles.done_button}> <TouchableOpacity style={[styles.button_view, { backgroundColor: primaryColor }]} onPress={() => this.setState({ block: false })}> <Text style={styles.button}>Done</Text> </TouchableOpacity> </View> : <> <View style={styles.buttonView}> <TouchableOpacity style={[styles.button_view, { backgroundColor: '#000' }]} onPress={() => this.setState({ block: false })}> <Text style={styles.button}>Cancel</Text> </TouchableOpacity> <TouchableOpacity style={[styles.button_view, { backgroundColor: primaryColor }]} onPress={() => this.setState({ block_confirmed: true })}> <Text style={styles.button}>Block</Text> </TouchableOpacity> </View> </> } */} </View> </View> </Modal>