forked from upstream-mirrors/quik
Only show changelog for EN
This commit is contained in:
@@ -50,6 +50,7 @@ import io.reactivex.rxkotlin.plusAssign
|
|||||||
import io.reactivex.rxkotlin.withLatestFrom
|
import io.reactivex.rxkotlin.withLatestFrom
|
||||||
import io.reactivex.schedulers.Schedulers
|
import io.reactivex.schedulers.Schedulers
|
||||||
import io.realm.Realm
|
import io.realm.Realm
|
||||||
|
import java.util.*
|
||||||
import java.util.concurrent.TimeUnit
|
import java.util.concurrent.TimeUnit
|
||||||
import javax.inject.Inject
|
import javax.inject.Inject
|
||||||
|
|
||||||
@@ -144,7 +145,7 @@ class MainViewModel @Inject constructor(
|
|||||||
.subscribe { syncMessages.execute(Unit) }
|
.subscribe { syncMessages.execute(Unit) }
|
||||||
|
|
||||||
// Show changelog
|
// Show changelog
|
||||||
if (changelogManager.didUpdate()) {
|
if (changelogManager.didUpdate() && Locale.getDefault().language.startsWith("en")) {
|
||||||
view.showChangelog()
|
view.showChangelog()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user