|
|
|
|
@ -34,6 +34,7 @@ class Patcher { |
|
|
|
|
|
|
|
|
|
fun patchDefaultTransactionTypes(context: Context) { |
|
|
|
|
val realm = Realm.getDefaultInstance() |
|
|
|
|
realm.executeTransaction { |
|
|
|
|
val tts = realm.where(TransactionType::class.java).findAll() |
|
|
|
|
tts.forEach { tt -> |
|
|
|
|
tt.kind?.let { kind -> |
|
|
|
|
@ -42,6 +43,7 @@ class Patcher { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|