Fixing a couple of issues

hh
Laurent 6 years ago
parent 18e68c9225
commit 83168db3ae
  1. 3
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/ActionList.kt
  2. 1
      app/src/main/res/layout/row_hand_history_view.xml

@ -159,7 +159,8 @@ class ActionList(var listener: ActionListListener) : ArrayList<ComputedAction>()
*/
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

@ -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" />

Loading…
Cancel
Save