mirror of
https://github.com/nextcloud/notes-android.git
synced 2024-11-23 13:26:15 +03:00
Fix Pull 2 Refresh in Preview (outdated note)
This commit is contained in:
parent
463dee551e
commit
cefb6a9df2
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ public class NotePreviewFragment extends SearchableBaseNoteFragment implements O
|
|||
SingleSignOnAccount ssoAccount = SingleAccountHelper.getCurrentSingleSignOnAccount(requireContext());
|
||||
db.getNoteServerSyncHelper().addCallbackPull(ssoAccount, () -> {
|
||||
note = db.getNote(note.getAccountId(), note.getId());
|
||||
changedText = note.getContent();
|
||||
binding.singleNoteContent.setText(parseCompat(markdownProcessor, replaceNoteLinksWithDummyUrls(note.getContent(), db.getRemoteIds(note.getAccountId()))));
|
||||
binding.swiperefreshlayout.setRefreshing(false);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue