Loading app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java +1 −1 Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ public abstract class NotesDatabase extends RoomDatabase { return getNoteDao().getNoteById(getNoteDao().addNote(entity)); } @AnyThread @MainThread public LiveData<Note> moveNoteToAnotherAccount(Account account, Note note) { return switchMap(getNoteDao().getContent$(note.getId()), (content) -> { final Note fullNote = new Note(null, note.getModified(), note.getTitle(), content, note.getCategory(), note.getFavorite(), null); Loading Loading
app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesDatabase.java +1 −1 Original line number Diff line number Diff line Loading @@ -207,7 +207,7 @@ public abstract class NotesDatabase extends RoomDatabase { return getNoteDao().getNoteById(getNoteDao().addNote(entity)); } @AnyThread @MainThread public LiveData<Note> moveNoteToAnotherAccount(Account account, Note note) { return switchMap(getNoteDao().getContent$(note.getId()), (content) -> { final Note fullNote = new Note(null, note.getModified(), note.getTitle(), content, note.getCategory(), note.getFavorite(), null); Loading