diff --git a/android/build.gradle b/android/build.gradle index cdb3f65..8744172 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -23,11 +23,14 @@ android { lintOptions { abortOnError false } + buildFeatures { + viewBinding true + } } buildscript { ext { - kotlinVersion = '1.4.31' + kotlinVersion = '1.6.20' } repositories { jcenter() diff --git a/android/src/main/java/com/inkind/RNMoneyInput/RNMoneyInputModule.kt b/android/src/main/java/com/inkind/RNMoneyInput/RNMoneyInputModule.kt index a6c54ec..e69b0c3 100644 --- a/android/src/main/java/com/inkind/RNMoneyInput/RNMoneyInputModule.kt +++ b/android/src/main/java/com/inkind/RNMoneyInput/RNMoneyInputModule.kt @@ -184,7 +184,6 @@ open class MoneyTextWatcher( // Create reference to end of number section of string val endOfInput = if (isSuffixSymbol) maskedText.length - 2 else maskedText.length + 1 - println("Cursor: ${cursorPosition}") // Is the cursor on leading edge of numbers? val isLeadingEdge = if (isSuffixSymbol) cursorPosition >= inputText.length - 3 else cursorPosition >= inputText.length - 1 diff --git a/package-lock.json b/package-lock.json index ee3b3b3..8f178fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@inkindcards/react-native-money", - "version": "1.0.6", + "version": "1.0.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@inkindcards/react-native-money", - "version": "1.0.6", + "version": "1.0.7", "license": "MIT", "devDependencies": { "@react-native-community/eslint-config": "0.0.2", diff --git a/package.json b/package.json index 1ccbada..1d2e8a0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@inkindcards/react-native-money", - "version": "1.0.6", + "version": "1.0.7", "description": "A fully native TextInput component that allows currency input with a right to left text aligment", "main": "dist/index.js", "typings": "dist/index.d.ts",