fix sometimes very latent story display after notification taps

This commit is contained in:
dosiecki 2017-05-01 18:10:06 -07:00
parent cfbc658546
commit f6d7f1688e

View file

@ -127,6 +127,11 @@ public abstract class Reading extends NbActivity implements OnPageChangeListener
fs = (FeedSet)getIntent().getSerializableExtra(EXTRA_FEEDSET);
// this is not strictly necessary, since our first refresh with the fs will swap in
// the correct session, but that can be delayed by sync backup, so we try here to
// reduce UI lag
FeedUtils.prepareReadingSession(fs);
if ((savedInstanceBundle != null) && savedInstanceBundle.containsKey(BUNDLE_STARTING_UNREAD)) {
startingUnreadCount = savedInstanceBundle.getInt(BUNDLE_STARTING_UNREAD);
}