Skip to content

Commit

Permalink
chore: v1.0.6 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
NathHorrigan committed Oct 12, 2022
1 parent 073b4c1 commit 8abce32
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
minSdkVersion safeExtGet('minSdkVersion', 16)
targetSdkVersion safeExtGet('targetSdkVersion', 28)
versionCode 1
versionName "1.0.5"
versionName "1.0.6"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,12 +243,8 @@ open class MoneyTextWatcher(
val isSuffixSymbol = content.last().isDigit() == false
if (isSuffixSymbol) {
this.caretPosition = min(this.caretPosition,content.length - 1)
}

if (content == "$0.00") {
this.caretPosition = 5
} else if (this.caretPosition == 0) {
this.caretPosition = 1
} else {
this.caretPosition = content.length
}
}

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.5",
"version": "1.0.6",
"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 8abce32

Please sign in to comment.