Skip to content

Commit

Permalink
Fix skip button in locales that use comma instead of dot
Browse files Browse the repository at this point in the history
Fixes #1721
  • Loading branch information
iSoron committed Jun 4, 2023
1 parent 69b5ed3 commit 727e88b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions uhabits-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ android {
compileSdk = 31

defaultConfig {
versionCode = 20102
versionName = "2.1.2"
versionCode = 20103
versionName = "2.1.3"
minSdk = 23
targetSdk = 31
applicationId = "org.isoron.uhabits"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class NumberDialog : AppCompatDialogFragment() {
save()
}
view.skipBtnNumber.setOnClickListener {
view.value.setText((Entry.SKIP.toDouble() / 1000).toString())
view.value.setText(DecimalFormat("#.###").format((Entry.SKIP.toDouble() / 1000)))
save()
}
view.notes.setOnEditorActionListener { v, actionId, event ->
Expand Down

0 comments on commit 727e88b

Please sign in to comment.