REF: RBF screen can scroll, fix for small devices

This commit is contained in:
ncoelho 2020-05-14 21:22:22 +02:00 committed by Overtorment
parent 5e5d7ee4f3
commit f078d20851

View file

@ -22,6 +22,7 @@ import {
Platform,
FlatList,
TextInput,
ScrollView,
} from 'react-native';
import LinearGradient from 'react-native-linear-gradient';
import { LightningCustodianWallet, PlaceholderWallet } from './class';
@ -2090,6 +2091,7 @@ export class BlueReplaceFeeSuggestions extends Component {
render() {
return (
<ScrollView contentContainerStyle={{ flex: 1 }}>
<View>
{this.state.networkFees && (
<>
@ -2161,7 +2163,9 @@ export class BlueReplaceFeeSuggestions extends Component {
inputAccessoryViewID={BlueDismissKeyboardInputAccessory.InputAccessoryViewID}
/>
<Text style={{ color: BlueApp.settings.alternativeTextColor, marginHorizontal: 8 }}>sat/b</Text>
{this.state.selectedFeeType === NetworkTransactionFeeType.CUSTOM && <Icon name="check" type="font-awesome" color="#0c2550" />}
{this.state.selectedFeeType === NetworkTransactionFeeType.CUSTOM && (
<Icon name="check" type="font-awesome" color="#0c2550" />
)}
</View>
<BlueDismissKeyboardInputAccessory />
</View>
@ -2170,6 +2174,7 @@ export class BlueReplaceFeeSuggestions extends Component {
The total fee rate (satoshi per byte) you want to pay should be higher than {this.props.transactionMinimum} sat/byte
</BlueText>
</View>
</ScrollView>
);
}
}