Fixes crash

hh
Laurent 6 years ago
parent 5d3035667b
commit 545e241b8e
  1. 2
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/HandHistoryViewModel.kt
  2. 2
      app/src/main/res/layout/row_hhsettings_straddle.xml

@ -891,7 +891,7 @@ class HandHistoryViewModel : ViewModel(), RowRepresentableDataSource, CardCentra
fun setAnte(ante: Double) {
this.handHistory.ante = ante
val positionIndexes = (0..this.handHistory.numberOfPlayers).toList()
val positionIndexes = (0 until this.handHistory.numberOfPlayers).toList()
this.sortedActions.updateRemainingStacksForPositions(positionIndexes)
}

@ -11,6 +11,6 @@
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
app:chipSpacing="4dp"/>
app:chipSpacing="2dp"/>
</LinearLayout>
Loading…
Cancel
Save