|
|
|
@ -616,13 +616,14 @@ class HandHistoryViewModel : ViewModel(), RowRepresentableDataSource, CardCentra |
|
|
|
private fun defineWinnerPositions() { |
|
|
|
private fun defineWinnerPositions() { |
|
|
|
|
|
|
|
|
|
|
|
GlobalScope.launch(coroutineContext) { |
|
|
|
GlobalScope.launch(coroutineContext) { |
|
|
|
GlobalScope.async { |
|
|
|
val c = GlobalScope.async { |
|
|
|
val realm = Realm.getDefaultInstance() |
|
|
|
val realm = Realm.getDefaultInstance() |
|
|
|
realm.executeTransaction { |
|
|
|
realm.executeTransaction { |
|
|
|
handHistory.defineWinnerPositions() |
|
|
|
handHistory.defineWinnerPositions() |
|
|
|
} |
|
|
|
} |
|
|
|
realm.close() |
|
|
|
realm.close() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
c.await() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|