diff --git a/BlueComponents.js b/BlueComponents.js
index d0fb3458f..9d7695320 100644
--- a/BlueComponents.js
+++ b/BlueComponents.js
@@ -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,86 +2091,90 @@ export class BlueReplaceFeeSuggestions extends Component {
render() {
return (
-
- {this.state.networkFees && (
- <>
- Suggestions
- this.onFeeSelected(NetworkTransactionFeeType.FAST)}>
- }
- : { hideChevron: true })}
- />
-
- this.onFeeSelected(NetworkTransactionFeeType.MEDIUM)}>
- }
- : { hideChevron: true })}
- />
-
- this.onFeeSelected(NetworkTransactionFeeType.SLOW)}>
- }
- : { hideChevron: true })}
- />
-
- >
- )}
- this.customTextInput.focus()}>
-
- Custom
-
- (this.customTextInput = ref)}
- maxLength={9}
+
+
+ {this.state.networkFees && (
+ <>
+ Suggestions
+ this.onFeeSelected(NetworkTransactionFeeType.FAST)}>
+ }
+ : { hideChevron: true })}
+ />
+
+ this.onFeeSelected(NetworkTransactionFeeType.MEDIUM)}>
+ }
+ : { hideChevron: true })}
+ />
+
+ this.onFeeSelected(NetworkTransactionFeeType.SLOW)}>
+ }
+ : { hideChevron: true })}
+ />
+
+ >
+ )}
+ this.customTextInput.focus()}>
+
+ Custom
+ this.onCustomFeeTextChange(this.state.customFeeValue)}
- defaultValue={`${this.props.transactionMinimum}`}
- placeholder="Custom sat/b"
- inputAccessoryViewID={BlueDismissKeyboardInputAccessory.InputAccessoryViewID}
- />
- sat/b
- {this.state.selectedFeeType === NetworkTransactionFeeType.CUSTOM && }
+ >
+ (this.customTextInput = ref)}
+ maxLength={9}
+ style={{
+ borderColor: '#d2d2d2',
+ borderBottomColor: '#d2d2d2',
+ borderWidth: 1.0,
+ borderBottomWidth: 0.5,
+ borderRadius: 4,
+ minHeight: 33,
+ maxWidth: 100,
+ minWidth: 44,
+ backgroundColor: '#f5f5f5',
+ textAlign: 'right',
+ }}
+ onFocus={() => this.onCustomFeeTextChange(this.state.customFeeValue)}
+ defaultValue={`${this.props.transactionMinimum}`}
+ placeholder="Custom sat/b"
+ inputAccessoryViewID={BlueDismissKeyboardInputAccessory.InputAccessoryViewID}
+ />
+ sat/b
+ {this.state.selectedFeeType === NetworkTransactionFeeType.CUSTOM && (
+
+ )}
+
+
-
-
-
-
- The total fee rate (satoshi per byte) you want to pay should be higher than {this.props.transactionMinimum} sat/byte
-
-
+
+
+ The total fee rate (satoshi per byte) you want to pay should be higher than {this.props.transactionMinimum} sat/byte
+
+
+
);
}
}