File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
News-Android-App/src/main/java/de/luhmer/owncloudnewsreader Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -549,7 +549,13 @@ private boolean syncFinishedHandler() {
549549 protected void onResume () {
550550 ThemeChooser .chooseTheme (this );
551551
552- reloadCountNumbersOfSlidingPaneAdapter ();
552+ //reloadCountNumbersOfSlidingPaneAdapter();
553+
554+ //reload adapter - a sync could have been finished
555+ NewsReaderListFragment newsReaderListFragment = getSlidingListFragment ();
556+ if (newsReaderListFragment != null ) {
557+ newsReaderListFragment .ReloadAdapter ();
558+ }
553559
554560 invalidateOptionsMenu ();
555561
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public class OwnCloudSyncService extends Service {
5858
5959 protected static final String TAG = "OwnCloudSyncService" ;
6060
61- private RemoteCallbackList <IOwnCloudSyncServiceCallback > callbacks = new RemoteCallbackList <>();
61+ private static RemoteCallbackList <IOwnCloudSyncServiceCallback > callbacks = new RemoteCallbackList <>();
6262
6363 private CountDownLatch syncCompletedLatch ;
6464 private StopWatch syncStopWatch ;
You can’t perform that action at this time.
0 commit comments