Adds BB walk case, displays summary

hh
Laurent 6 years ago
parent 1ed680b6ce
commit ab1b7a1435
  1. 3
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/ActionList.kt
  2. 3
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/HandHistoryViewModel.kt

@ -447,6 +447,9 @@ class ActionList(var listener: ActionListListener) : ArrayList<ComputedAction>()
} else {
Street.SUMMARY
}
} // BB Walk
else if (currentStreet == Street.PREFLOP && activePositions.size == 1 && activePositions.first() == Position.BB) {
return Street.SUMMARY
}
}

@ -292,10 +292,7 @@ class HandHistoryViewModel : ViewModel(), RowRepresentableDataSource, CardCentra
rows.add(HandRowType.SETTINGS_HEADER)
if (this.settingsExpanded) {
rows.add(HandRowType.ANTE)
if (this.handSetup.type != Session.Type.CASH_GAME) {
rows.add(HandRowType.BIG_BLIND_ANTE)
}
// Straddle
val positions = Position.positionsPerPlayers(this.handHistory.numberOfPlayers)

Loading…
Cancel
Save