|
|
|
|
@ -71,7 +71,7 @@ enum class Comparator { |
|
|
|
|
BLIND -> { |
|
|
|
|
val blinds = arrayListOf<QueryCondition.BLIND>() |
|
|
|
|
val realm = Realm.getDefaultInstance() |
|
|
|
|
realm.where<Session>().distinct("blind", "bankroll.currency.code").findAll().sort("cgSmallBlind", Sort.ASCENDING).map { |
|
|
|
|
realm.where<Session>().distinct("blinds", "bankroll.currency.code").findAll().sort("cgSmallBlind", Sort.ASCENDING).map { |
|
|
|
|
it.blinds?.let { stake -> |
|
|
|
|
blinds.add(QueryCondition.BLIND().apply { setBlind(stake, it.hasDefaultCurrency)}) |
|
|
|
|
} |
|
|
|
|
|