|
|
|
@ -26,7 +26,6 @@ class BackupOperator(var context: Context) { |
|
|
|
this.sessions = this.realm.where(Session::class.java).findAllAsync() |
|
|
|
this.sessions = this.realm.where(Session::class.java).findAllAsync() |
|
|
|
this.sessions?.addChangeListener { _ -> |
|
|
|
this.sessions?.addChangeListener { _ -> |
|
|
|
sessionsChanged = true |
|
|
|
sessionsChanged = true |
|
|
|
// backupIfNecessary() |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.transactions = this.realm.where(Transaction::class.java).findAllAsync() |
|
|
|
this.transactions = this.realm.where(Transaction::class.java).findAllAsync() |
|
|
|
|