perftest
Laurent 3 years ago
parent 1bd5876845
commit 3eeb8379bd
  1. 5
      app/src/main/java/net/pokeranalytics/android/ui/modules/handhistory/model/EditorViewModel.kt

@ -638,12 +638,9 @@ class EditorViewModel : ViewModel(), RowRepresentableDataSource, CardCentralizer
this.handHistory.actions.addAll(actions)
realm.executeTransactionAsync { asyncRealm ->
Timber.d("hh id = ${this.handHistory.id}")
this.handHistory.defineWinnerPositions()
val hh = asyncRealm.copyToRealmOrUpdate(this.handHistory)
Timber.d("hh2 id = ${hh.id}")
asyncRealm.copyToRealmOrUpdate(this.handHistory)
}
// this.defineWinnerPositions()
}
// private fun defineWinnerPositions() {

Loading…
Cancel
Save