From 83168db3aea23b725df7bf43de30c4bfc643f187 Mon Sep 17 00:00:00 2001 From: Laurent Date: Thu, 26 Mar 2020 15:04:45 +0100 Subject: [PATCH] Fixing a couple of issues --- .../android/ui/modules/handhistory/model/ActionList.kt | 3 ++- app/src/main/res/layout/row_hand_history_view.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/ActionList.kt b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/ActionList.kt index b4900af3..952a9ea4 100644 --- a/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/ActionList.kt +++ b/app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/ActionList.kt @@ -159,7 +159,8 @@ class ActionList(var listener: ActionListListener) : ArrayList() */ override fun minimumBetAmount(index: Int): Double { - if (this[index].action.type?.isBlind == true) return 0.0 // no min for blinds + val type = this[index].action.type + if (type?.isBlind == true || type?.isAllin == true) return 0.0 // no min for blinds or allins val street = this[index].street diff --git a/app/src/main/res/layout/row_hand_history_view.xml b/app/src/main/res/layout/row_hand_history_view.xml index 2f19edf9..a1d39f88 100644 --- a/app/src/main/res/layout/row_hand_history_view.xml +++ b/app/src/main/res/layout/row_hand_history_view.xml @@ -59,6 +59,7 @@ android:id="@+id/nextArrow" android:layout_width="24dp" android:layout_height="24dp" + android:src="@drawable/ic_arrow_right" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="@+id/guidelineEnd" app:layout_constraintTop_toTopOf="parent" />