Fix weird auto scrolling issue

This commit is contained in:
Moez Bhatti
2020-01-12 18:39:12 -05:00
parent be741c0144
commit d0251d2295
2 changed files with 2 additions and 10 deletions
@@ -212,7 +212,7 @@ class MainViewModel @Inject constructor(
prefs.keyChanges
.filter { key -> key.contains("theme") }
.map { true }
.mergeWith(prefs.autoColor.asObservable())
.mergeWith(prefs.autoColor.asObservable().skip(1))
.doOnNext { view.themeChanged() }
.takeUntil(view.activityResumedIntent.filter { resumed -> resumed })
}