Fixes potential bankroll total issue

dev
Laurent 7 years ago
parent 5445c62177
commit 5e70a799eb
  1. 4
      app/src/main/java/net/pokeranalytics/android/calculus/bankroll/BankrollReport.kt

@ -62,6 +62,10 @@ class BankrollReport(var setup: BankrollReportSetup) : RowRepresentable {
* The initial value of the bankroll, or of all bankrolls if virtual is computed
*/
var initial: Double = 0.0
set(value) {
field = value
this.computeBankrollTotal()
}
/**
* The net result from poker computables

Loading…
Cancel
Save