REF: hodlhodl improvements

This commit is contained in:
Overtorment 2020-06-16 12:48:29 +01:00
parent ddd1255e27
commit 59851ff323
2 changed files with 15 additions and 6 deletions

View File

@ -986,13 +986,13 @@ const styles = StyleSheet.create({
currencyNativeName: { fontSize: 20, color: '#0c2550' },
currencyWrapper: { paddingLeft: 10, flex: 1, flexDirection: 'row' },
methodNameText: { fontSize: 16, color: '#9AA0AA' },
searchTextInput: { fontSize: 17, flex: 1, marginHorizontal: 8, minHeight: 33, paddingLeft: 6, paddingRight: 6 },
searchTextInput: { fontSize: 17, flex: 1, marginHorizontal: 8, minHeight: 33, paddingLeft: 6, paddingRight: 6, color: '#81868e' },
iconWithOffset: { left: -10 },
paddingLeft10: { paddingLeft: 10 },
countryNativeNameBold: { fontSize: 20, color: '#0c2550', fontWeight: 'bold' },
countryNativeNameNormal: { fontSize: 20, color: '#0c2550', fontWeight: 'normal' },
curSearchInput: { flex: 1, marginHorizontal: 8, minHeight: 33, paddingLeft: 6, paddingRight: 6 },
mthdSearchInput: { flex: 1, marginHorizontal: 8, minHeight: 33, paddingLeft: 6, paddingRight: 6 },
curSearchInput: { flex: 1, marginHorizontal: 8, minHeight: 33, paddingLeft: 6, paddingRight: 6, color: '#81868e' },
mthdSearchInput: { flex: 1, marginHorizontal: 8, minHeight: 33, paddingLeft: 6, paddingRight: 6, color: '#81868e' },
currencyTextBold: {
fontSize: 20,
color: '#0c2550',

View File

@ -12,7 +12,15 @@ import {
TouchableHighlight,
View,
} from 'react-native';
import { BlueButton, BlueLoading, BlueNavigationStyle, BlueSpacing10, BlueSpacing20, SafeBlueArea } from '../../BlueComponents';
import {
BlueButton,
BlueCopyTextToClipboard,
BlueLoading,
BlueNavigationStyle,
BlueSpacing10,
BlueSpacing20,
SafeBlueArea,
} from '../../BlueComponents';
import { AppStorage } from '../../class';
import { HodlHodlApi } from '../../class/hodl-hodl-api';
import Modal from 'react-native-modal';
@ -215,7 +223,7 @@ export default class HodlHodlMyContracts extends Component {
<Text style={styles.subheaderText}>How to pay</Text>
<View style={styles.modalContentCentered}>
<View style={styles.statusGrayWrapper2}>
<Text style={styles.statusGrayText2}>{this.state.contractToDisplay.payment_method_instruction.details}</Text>
<BlueCopyTextToClipboard text={this.state.contractToDisplay.payment_method_instruction.details} />
</View>
</View>
</View>
@ -385,7 +393,8 @@ const styles = StyleSheet.create({
statusGrayWrapper2: {
backgroundColor: '#f8f8f8',
borderRadius: 5,
height: 28,
minHeight: 28,
maxHeight: 56,
justifyContent: 'center',
alignItems: 'center',
paddingLeft: 15,