Ensure reading progress overlay always updates.

This commit is contained in:
dosiecki 2015-01-01 22:11:28 -08:00
parent 1cab0f5d6a
commit c42be1637c
2 changed files with 3 additions and 1 deletions

View file

@ -328,6 +328,7 @@ public abstract class Reading extends NbActivity implements OnPageChangeListener
@Override
protected void handleUpdate(boolean freshData) {
enableMainProgress(NBSyncService.isFeedSetSyncing(this.fs));
updateOverlayNav();
if (freshData) updateCursor();
}
@ -430,7 +431,7 @@ public abstract class Reading extends NbActivity implements OnPageChangeListener
}
/**
* Update the left/right overlay UI after the read-state of a story changes or we navigate in any way.
* Update the next/back overlay UI after the read-state of a story changes or we navigate in any way.
*/
private void updateOverlayNav() {
this.overlayLeft.setEnabled(this.getLastReadPosition(false) != -1);

View file

@ -291,6 +291,7 @@ public class NBSyncService extends Service {
ra.doLocal(dbHelper);
}
FollowupActions.clear();
NbActivity.updateAllActivities(false);
}
/**