diff --git a/package.json b/package.json index 1f76e4ecb..e6210dfd7 100644 --- a/package.json +++ b/package.json @@ -139,7 +139,6 @@ "react-native-svg": "13.8.0", "react-native-svg-transformer": "0.14.3", "react-native-tab-view": "3.1.1", - "react-native-text-input-mask": "3.1.4", "react-native-timeago": "0.5.0", "react-native-touch-id-ng": "5.0.1", "react-native-tracking-transparency": "0.1.2", diff --git a/patches/react-native-text-input-mask+3.1.4.patch b/patches/react-native-text-input-mask+3.1.4.patch deleted file mode 100644 index fc2ab4672..000000000 --- a/patches/react-native-text-input-mask+3.1.4.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/node_modules/react-native-text-input-mask/android/build.gradle b/node_modules/react-native-text-input-mask/android/build.gradle -index c94f33f..c045381 100644 ---- a/node_modules/react-native-text-input-mask/android/build.gradle -+++ b/node_modules/react-native-text-input-mask/android/build.gradle -@@ -27,7 +27,7 @@ android { - - buildscript { - ext { -- kotlinVersion = '1.4.31' -+ kotlinVersion = '1.6.10' - } - repositories { - jcenter() diff --git a/src/components/form/BoxInput.tsx b/src/components/form/BoxInput.tsx index fea77519d..482230c7a 100644 --- a/src/components/form/BoxInput.tsx +++ b/src/components/form/BoxInput.tsx @@ -1,6 +1,5 @@ import React, {useState} from 'react'; import {KeyboardTypeOptions, TextInput, TextInputProps} from 'react-native'; -import TextInputMask, {TextInputMaskProps} from 'react-native-text-input-mask'; import styled, {css} from 'styled-components/native'; import ObfuscationHide from '../../../assets/img/obfuscation-hide.svg'; import ObfuscationShow from '../../../assets/img/obfuscation-show.svg'; @@ -76,7 +75,7 @@ const Separator = styled.View` height: ${SEPARATOR_HEIGHT}px; `; -const Input = styled(TextInputMask)` +const Input = styled.TextInput` background-color: transparent; color: ${({theme}) => theme.colors.text}; height: ${INPUT_HEIGHT}px; @@ -151,10 +150,7 @@ interface BoxInputProps extends TextInputProps { disabled?: boolean; } -const BoxInput = React.forwardRef< - TextInput, - BoxInputProps & TextInputMaskProps ->( +const BoxInput = React.forwardRef( ( { label, diff --git a/yarn.lock b/yarn.lock index 8d929ffed..a5d60212f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -13436,11 +13436,6 @@ react-native-tab-view@3.1.1: resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-3.1.1.tgz#1f8d7a835ab4f5b1b1407ec8dddc1053b53fa3c6" integrity sha512-M5pRN6utQfytKWoKlKVzg5NbkYu308qNoW1khGTtEOTs1k14p2dHJ/BWOJoJYHKbPVUyZldbG9MFT7gUl4YHnw== -react-native-text-input-mask@3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/react-native-text-input-mask/-/react-native-text-input-mask-3.1.4.tgz#9b09d97a910ce8c24024d6187256b07c73e173ac" - integrity sha512-XhTPL1/Pv0kyuH8TMJGaxfnq5su9e+4G2PLngiismZ4xbP8+W/1ZEH4KQJQV+QkE2I5Oi+lPJXB2E47s60/OBA== - react-native-timeago@0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/react-native-timeago/-/react-native-timeago-0.5.0.tgz#1b08057e3473dbb5b6720ee5cde4e544a7c250f0"