Fix and cleanup

hh
Laurent 6 years ago
parent 297cb99cd6
commit 3d832392b4
  1. 9
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/ActionList.kt

@ -428,8 +428,10 @@ class ActionList(var listener: ActionListListener) : ArrayList<ComputedAction>()
// Blinds must act // Blinds must act
val sa = significantAction.action val sa = significantAction.action
if (sa.type!!.isBlind && getStreetNextCalls(sa.index).isEmpty()) { if (sa.type!!.isBlind) {
if (getStreetNextCalls(sa.index).isEmpty()) {
activePositions.remove(significantAction.position) activePositions.remove(significantAction.position)
}
} else { } else {
activePositions.remove(significantAction.position) activePositions.remove(significantAction.position)
} }
@ -450,10 +452,7 @@ class ActionList(var listener: ActionListListener) : ArrayList<ComputedAction>()
} else { } else {
Street.SUMMARY Street.SUMMARY
} }
} // BB Walk }
// else if (currentStreet == Street.PREFLOP && activePositions.size == 1 && activePositions.first() == Position.BB) {
// return Street.SUMMARY
// }
} }

Loading…
Cancel
Save