This commit is contained in:
parent
9139e7bbf1
commit
2424dde9cc
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ class TimelineFragment :
|
||||||
val preferences = PreferenceManager.getDefaultSharedPreferences(requireContext())
|
val preferences = PreferenceManager.getDefaultSharedPreferences(requireContext())
|
||||||
val useAbsoluteTime = preferences.getBoolean(PrefKeys.ABSOLUTE_TIME_VIEW, false)
|
val useAbsoluteTime = preferences.getBoolean(PrefKeys.ABSOLUTE_TIME_VIEW, false)
|
||||||
if (!useAbsoluteTime) {
|
if (!useAbsoluteTime) {
|
||||||
Observable.interval(1, TimeUnit.MINUTES)
|
Observable.interval(0, 1, TimeUnit.MINUTES)
|
||||||
.observeOn(AndroidSchedulers.mainThread())
|
.observeOn(AndroidSchedulers.mainThread())
|
||||||
.autoDispose(this, Lifecycle.Event.ON_PAUSE)
|
.autoDispose(this, Lifecycle.Event.ON_PAUSE)
|
||||||
.subscribe {
|
.subscribe {
|
||||||
|
|
Loading…
Reference in a new issue