fix float error
This commit is contained in:
parent
59839fe8ca
commit
1d8979a436
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ fun TransactionDialog(
|
||||||
}
|
}
|
||||||
TextButton(
|
TextButton(
|
||||||
onClick = {
|
onClick = {
|
||||||
onConfirm(label, (value.toFloat() * 100).toInt())
|
onConfirm(label, (value.toDouble() * 100).toInt())
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
Text("Create transaction")
|
Text("Create transaction")
|
||||||
|
|
Loading…
Reference in a new issue