diff --git a/views/EditFee.tsx b/views/EditFee.tsx index 3594da863..6011d0165 100644 --- a/views/EditFee.tsx +++ b/views/EditFee.tsx @@ -367,7 +367,9 @@ export default class EditFee extends React.Component< keyboardType="numeric" value={this.state.customFee} onChangeText={(text: string) => { - text = text.replace(/[^0-9]*/g, ''); + text = text + .replace(/[^0-9]*/g, '') + .replace(/^0+/, ''); this.setState({ customFee: text, fee: text,