Skip to content

Commit

Permalink
Fix #302
Browse files Browse the repository at this point in the history
  • Loading branch information
budowski committed Feb 7, 2017
1 parent 1ae5ed0 commit 172ff0c
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,11 @@ private void refreshSyncBar() {
int photoSyncCount = 0;

if (mApp.getAutoSync()) {
// Auto sync is on - no need for manual sync
if (mSyncingTopBar != null) mSyncingTopBar.setVisibility(View.GONE);
return;
// Auto sync is on - no need for manual sync (only if the sync wasn't paused by the user)
if (!mUserCanceledSync) {
if (mSyncingTopBar != null) mSyncingTopBar.setVisibility(View.GONE);
return;
}
}

Cursor c = getContentResolver().query(Observation.CONTENT_URI,
Expand Down

0 comments on commit 172ff0c

Please sign in to comment.