|
|
|
|
@ -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() { |
|
|
|
|
|