Merge pull request #6336 from BlueWallet/importkey

FIX: Buttons were blocked by keyboard in multisig edit
This commit is contained in:
GLaDOS 2024-03-26 09:03:13 +00:00 committed by GitHub
commit 2743e38a1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -532,11 +532,11 @@ const ViewEditMultisigCosigners = ({ route }: Props) => {
};
const renderProvideMnemonicsModal = () => {
// @ts-ignore weird, property exists on typedefinition. might be some ts bugs
// @ts-ignore weird, property exists on type definition. might be some ts bugs
const isPad: boolean = Platform.isPad;
return (
<BottomModal isVisible={isProvideMnemonicsModalVisible} onClose={hideProvideMnemonicsModal} coverScreen={false}>
<KeyboardAvoidingView enabled={!isPad} behavior={Platform.OS === 'ios' ? 'position' : undefined}>
<BottomModal avoidKeyboard isVisible={isProvideMnemonicsModalVisible} onClose={hideProvideMnemonicsModal} coverScreen={false}>
<KeyboardAvoidingView enabled={!isPad} behavior={Platform.OS === 'ios' ? 'position' : 'padding'} keyboardVerticalOffset={120}>
<View style={[styles.modalContent, stylesHook.modalContent]}>
<BlueTextCentered>{loc.multisig.type_your_mnemonics}</BlueTextCentered>
<BlueSpacing20 />