Skip to content

Commit

Permalink
chore: v1.0.7 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
NathHorrigan committed Mar 23, 2023
1 parent 8abce32 commit 9ba8929
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 4 additions & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ android {
lintOptions {
abortOnError false
}
buildFeatures {
viewBinding true
}
}

buildscript {
ext {
kotlinVersion = '1.4.31'
kotlinVersion = '1.6.20'
}
repositories {
jcenter()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 9ba8929

Please sign in to comment.