2554 refresh timestamps on resume (#2562)
* Fire observable to update timestamps directly on resume (#2554) * Fire observable to update timestamps directly on resume (#2554)
This commit is contained in:
parent
becb677176
commit
d2befa83d3
1 changed files with 1 additions and 1 deletions
|
@ -1231,7 +1231,7 @@ public class NotificationsFragment extends SFragment implements
|
|||
SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(getActivity());
|
||||
boolean useAbsoluteTime = preferences.getBoolean("absoluteTimeView", false);
|
||||
if (!useAbsoluteTime) {
|
||||
Observable.interval(1, TimeUnit.MINUTES)
|
||||
Observable.interval(0, 1, TimeUnit.MINUTES)
|
||||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.to(autoDisposable(from(this, Lifecycle.Event.ON_PAUSE)))
|
||||
.subscribe(
|
||||
|
|
Loading…
Reference in a new issue