From a875eca134630b4f25a4c6dab203744938d8e942 Mon Sep 17 00:00:00 2001 From: Noah Watson Date: Thu, 11 Nov 2021 17:26:03 -0600 Subject: [PATCH] fix contentLoaded not updated for preview mode --- .../it/niedermann/owncloud/notes/edit/NotePreviewFragment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/it/niedermann/owncloud/notes/edit/NotePreviewFragment.java b/app/src/main/java/it/niedermann/owncloud/notes/edit/NotePreviewFragment.java index 37048d6ac..ae76ccc1a 100644 --- a/app/src/main/java/it/niedermann/owncloud/notes/edit/NotePreviewFragment.java +++ b/app/src/main/java/it/niedermann/owncloud/notes/edit/NotePreviewFragment.java @@ -126,6 +126,7 @@ protected void onNoteLoaded(Note note) { changedText = newContent.toString(); saveNote(null); }); + contentLoaded = true; } protected void registerInternalNoteLinkHandler() {