From 6dc38880a92ce03bf0df2b29c8b540fceea7baab Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 16 Oct 2019 14:29:45 +0200 Subject: [PATCH] Allows decimal for tip inputs --- .../android/ui/view/rowrepresentable/SessionRow.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/net/pokeranalytics/android/ui/view/rowrepresentable/SessionRow.kt b/app/src/main/java/net/pokeranalytics/android/ui/view/rowrepresentable/SessionRow.kt index 0740dfc1..688e46a2 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/view/rowrepresentable/SessionRow.kt +++ b/app/src/main/java/net/pokeranalytics/android/ui/view/rowrepresentable/SessionRow.kt @@ -296,8 +296,8 @@ enum class SessionRow : RowRepresentable { RowRepresentableEditDescriptor(sb ?: 0.0), RowRepresentableEditDescriptor(bb ?: 0.0), RowRepresentableEditDescriptor(tips ?: 0.0), - RowRepresentableEditDescriptor("", inputType = InputType.TYPE_CLASS_NUMBER), - RowRepresentableEditDescriptor("", inputType = InputType.TYPE_CLASS_NUMBER) + RowRepresentableEditDescriptor("", inputType = InputType.TYPE_CLASS_NUMBER or InputType.TYPE_NUMBER_FLAG_DECIMAL), + RowRepresentableEditDescriptor("", inputType = InputType.TYPE_CLASS_NUMBER or InputType.TYPE_NUMBER_FLAG_DECIMAL) ) } TOURNAMENT_TYPE -> {