Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Fixed: demo apps weren't tracking sync progress
Browse files Browse the repository at this point in the history
There were leftover calls to set server.activityPollInterval=0 that shouldn't be there anymore.
  • Loading branch information
snej committed Jan 7, 2012
1 parent 0928fe1 commit a345ff1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Demo-Mac/DemoAppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,6 @@ - (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object
} else {
[_syncProgress setDoubleValue: 0.0];
}
_database.server.activityPollInterval = 0; // I use notifications instead
}
}

Expand Down
1 change: 0 additions & 1 deletion Demo-iOS/RootViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ - (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object
} else {
[self showSyncButton];
}
database.server.activityPollInterval = 0.0; // I use notifications, not polling
}
}

Expand Down

0 comments on commit a345ff1

Please sign in to comment.