mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-27 09:46:50 +03:00
update local note after sync
This commit is contained in:
parent
6afcca8567
commit
f7f2d5e2f9
1 changed files with 2 additions and 1 deletions
|
@ -116,7 +116,8 @@ public class NotePreviewFragment extends BaseNoteFragment {
|
|||
db.getNoteServerSyncHelper().addCallbackPull(new ICallback() {
|
||||
@Override
|
||||
public void onFinish() {
|
||||
noteContent.setText(markdownProcessor.parse(db.getNote(note.getAccountId(), note.getId()).getContent()));
|
||||
note = db.getNote(note.getAccountId(), note.getId());
|
||||
noteContent.setText(markdownProcessor.parse(note.getContent()));
|
||||
swipeRefreshLayout.setRefreshing(false);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue