mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Ensure reading progress overlay always updates.
This commit is contained in:
parent
1cab0f5d6a
commit
c42be1637c
2 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
|
@ -291,6 +291,7 @@ public class NBSyncService extends Service {
|
|||
ra.doLocal(dbHelper);
|
||||
}
|
||||
FollowupActions.clear();
|
||||
NbActivity.updateAllActivities(false);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue