bump version number

This commit is contained in:
Phillip Thelen 2019-08-05 17:30:10 +02:00
parent de83f8741b
commit 028f5c0d01
3 changed files with 9 additions and 3 deletions

View file

@ -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 {

View file

@ -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`) }
}
}

View file

@ -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!