mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
FIX: Custom fee cancelation on iPadOS 14.4 fade into black screen #2568
This commit is contained in:
parent
ae69b1efe0
commit
b8c04deec9
4 changed files with 7 additions and 7 deletions
|
@ -807,7 +807,7 @@ export default class SendDetails extends Component {
|
|||
isVisible={this.state.isFeeSelectionModalVisible}
|
||||
onClose={this.hideFeeSelectionModal}
|
||||
>
|
||||
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<KeyboardAvoidingView enabled={!Platform.isPad} behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<View style={styles.modalContent}>
|
||||
{options.map(({ label, time, fee, rate, active }, index) => (
|
||||
<TouchableOpacity
|
||||
|
@ -1165,7 +1165,7 @@ export default class SendDetails extends Component {
|
|||
isVisible={this.state.isAdvancedTransactionOptionsVisible}
|
||||
onClose={this.hideAdvancedTransactionOptionsModal}
|
||||
>
|
||||
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<KeyboardAvoidingView enabled={!Platform.isPad} behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<View style={styles.advancedTransactionOptionsModalContent}>
|
||||
{this.state.fromWallet.allowSendMax() && (
|
||||
<BlueListItem
|
||||
|
@ -1474,7 +1474,7 @@ export default class SendDetails extends Component {
|
|||
<View style={styles.root} onLayout={this.onLayout}>
|
||||
<StatusBar barStyle="light-content" />
|
||||
<View>
|
||||
<KeyboardAvoidingView behavior="position">
|
||||
<KeyboardAvoidingView enabled={!Platform.isPad} behavior="position">
|
||||
<FlatList
|
||||
keyboardShouldPersistTaps="always"
|
||||
scrollEnabled={this.state.addresses.length > 1}
|
||||
|
|
|
@ -603,7 +603,7 @@ const WalletsAddMultisigStep2 = () => {
|
|||
const renderProvideMnemonicsModal = () => {
|
||||
return (
|
||||
<BottomModal isVisible={isProvideMnemonicsModalVisible} onClose={hideProvideMnemonicsModal}>
|
||||
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<KeyboardAvoidingView enabled={!Platform.isPad} behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<View style={[styles.modalContent, stylesHook.modalContent]}>
|
||||
<BlueTextCentered>{loc.multisig.type_your_mnemonics}</BlueTextCentered>
|
||||
<BlueSpacing20 />
|
||||
|
@ -634,7 +634,7 @@ const WalletsAddMultisigStep2 = () => {
|
|||
const renderCosignersXpubModal = () => {
|
||||
return (
|
||||
<BottomModal isVisible={isRenderCosignersXpubModalVisible} onClose={hideCosignersXpubModal}>
|
||||
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<KeyboardAvoidingView enabled={!Platform.isPad} behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<View style={[styles.modalContent, stylesHook.modalContent, styles.alignItemsCenter]}>
|
||||
<Text style={[styles.headerText, stylesHook.textDestination]}>{loc.multisig.this_is_cosigners_xpub}</Text>
|
||||
<BlueSpacing20 />
|
||||
|
|
|
@ -414,7 +414,7 @@ const WalletDetails = () => {
|
|||
}
|
||||
})()}
|
||||
<Text style={[styles.textLabel2, stylesHook.textLabel2]}>{loc.wallets.add_wallet_name.toLowerCase()}</Text>
|
||||
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<KeyboardAvoidingView enabled={!Platform.isPad} behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<View style={[styles.input, stylesHook.input]}>
|
||||
<TextInput
|
||||
placeholder={loc.send.details_note_placeholder}
|
||||
|
|
|
@ -176,7 +176,7 @@ export default class HodlHodlViewOffer extends Component {
|
|||
) : (
|
||||
<SafeBlueArea>
|
||||
<ScrollView>
|
||||
<KeyboardAvoidingView behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<KeyboardAvoidingView enabled={!Platform.isPad} behavior={Platform.OS === 'ios' ? 'position' : null}>
|
||||
<View style={styles.modalContent}>
|
||||
<Text style={styles.Title}>{this.state.offerToDisplay.title}</Text>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue