mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-27 09:46:50 +03:00
pull2refresh: Synchronize *after* capabilities have been refreshed
This commit is contained in:
parent
3c8a9bc163
commit
7a0c8170c3
1 changed files with 3 additions and 1 deletions
|
@ -329,9 +329,11 @@ public class NotesListViewActivity extends LockedActivity implements ItemAdapter
|
||||||
Log.i(TAG, capabilities.toString());
|
Log.i(TAG, capabilities.toString());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
} finally {
|
||||||
|
// Even if the capabilities endpoint makes trouble, we can still try to synchronize the notes
|
||||||
|
synchronize();
|
||||||
}
|
}
|
||||||
}).start();
|
}).start();
|
||||||
synchronize();
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue