|
|
|
|
@ -25,8 +25,6 @@ open class Currency : RealmObject() { |
|
|
|
|
|
|
|
|
|
fun refreshRelatedRatedValues() { |
|
|
|
|
|
|
|
|
|
if (this.realm != null) { |
|
|
|
|
|
|
|
|
|
val rate = this.rate ?: DEFAULTRATE |
|
|
|
|
val query = this.realm.where(ComputableResult::class.java) |
|
|
|
|
query.`in`("session.bankroll.currency.id", arrayOf(this.id)) |
|
|
|
|
@ -40,7 +38,6 @@ open class Currency : RealmObject() { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |