mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-04-14 19:56:32 +00:00
bump version number
This commit is contained in:
parent
de83f8741b
commit
028f5c0d01
3 changed files with 9 additions and 3 deletions
|
|
@ -149,8 +149,8 @@ android {
|
|||
buildConfigField "String", "TESTING_LEVEL", "\"production\""
|
||||
multiDexEnabled true
|
||||
|
||||
versionCode 2174
|
||||
versionName "2.0.1"
|
||||
versionCode 2179
|
||||
versionName "2.0.2"
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
|
|
|
|||
|
|
@ -15,12 +15,14 @@ abstract class RealmBaseLocalRepository internal constructor(protected var realm
|
|||
}
|
||||
|
||||
override fun executeTransaction(transaction: (Realm) -> Unit) {
|
||||
if (isClosed) { return }
|
||||
realm.executeTransaction {
|
||||
transaction(it)
|
||||
}
|
||||
}
|
||||
|
||||
override fun executeTransaction(transaction: Realm.Transaction) {
|
||||
if (isClosed) { return }
|
||||
realm.executeTransaction(transaction)
|
||||
}
|
||||
|
||||
|
|
@ -33,18 +35,22 @@ abstract class RealmBaseLocalRepository internal constructor(protected var realm
|
|||
}
|
||||
|
||||
override fun <T : RealmObject> getUnmanagedCopy(list: List<T>): List<T> {
|
||||
if (isClosed) { return emptyList() }
|
||||
return realm.copyFromRealm(list)
|
||||
}
|
||||
|
||||
override fun <T : RealmObject> save(`object`: T) {
|
||||
if (isClosed) { return }
|
||||
realm.executeTransactionAsync { realm1 -> realm1.insertOrUpdate(`object`) }
|
||||
}
|
||||
|
||||
override fun <T : RealmObject> save(objects: List<T>) {
|
||||
if (isClosed) { return }
|
||||
realm.executeTransactionAsync { realm1 -> realm1.insertOrUpdate(objects) }
|
||||
}
|
||||
|
||||
override fun <T : RealmObject> saveSyncronous(`object`: T) {
|
||||
if (isClosed) { return }
|
||||
realm.executeTransaction { realm1 -> realm1.insertOrUpdate(`object`) }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
We fixed a minor crash in version 2.0.1.
|
||||
We fixed a bug where the task list would not update correctly in version 2.0.2.
|
||||
|
||||
In the latest update, version 2.0 brings you a redesigned way to add new tasks as well as a new Notifications section in the Menu so that you can stay up to date with your Party and Guilds! We also fixed bugs related to task editing, Shops, and Rewards. Be sure to download this update now for a better Habitica experience!
|
||||
|
|
|
|||
Loading…
Reference in a new issue