pull2refresh: Synchronize *after* capabilities have been refreshed

This commit is contained in:
Stefan Niedermann 2020-05-01 12:12:46 +02:00
parent 3c8a9bc163
commit 7a0c8170c3

View file

@ -329,9 +329,11 @@ public class NotesListViewActivity extends LockedActivity implements ItemAdapter
Log.i(TAG, capabilities.toString());
} catch (Exception e) {
e.printStackTrace();
} finally {
// Even if the capabilities endpoint makes trouble, we can still try to synchronize the notes
synchronize();
}
}).start();
synchronize();
}
});