Skip to content

Commit

Permalink
fix #410
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Development committed Nov 16, 2015
1 parent f625c41 commit 0f4c232
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,13 @@ private boolean syncFinishedHandler() {
protected void onResume() {
ThemeChooser.chooseTheme(this);

reloadCountNumbersOfSlidingPaneAdapter();
//reloadCountNumbersOfSlidingPaneAdapter();

//reload adapter - a sync could have been finished
NewsReaderListFragment newsReaderListFragment = getSlidingListFragment();
if(newsReaderListFragment != null) {
newsReaderListFragment.ReloadAdapter();
}

invalidateOptionsMenu();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class OwnCloudSyncService extends Service {

protected static final String TAG = "OwnCloudSyncService";

private RemoteCallbackList<IOwnCloudSyncServiceCallback> callbacks = new RemoteCallbackList<>();
private static RemoteCallbackList<IOwnCloudSyncServiceCallback> callbacks = new RemoteCallbackList<>();

private CountDownLatch syncCompletedLatch;
private StopWatch syncStopWatch;
Expand Down

0 comments on commit 0f4c232

Please sign in to comment.