Skip to content

Commit eee054c

Browse files
alperozturk96AndyScherzinger
authored andcommitted
revert db status changes
Signed-off-by: alperozturk <[email protected]>
1 parent acb5216 commit eee054c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/src/main/java/it/niedermann/owncloud/notes/persistence/NotesRepository.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,6 @@ public void toggleFavoriteAndSync(Account account, Note note) {
547547
final var ssoAccount = AccountImporter.getSingleSignOnAccount(context, account.getAccountName());
548548
final var notesAPI = apiProvider.getNotesAPI(context, ssoAccount, getPreferredApiVersion(account.getApiVersion()));
549549
note.setFavorite(!note.getFavorite());
550-
note.setStatus(DBStatus.LOCAL_EDITED);
551550
final var result = notesAPI.updateNote(note);
552551
final var response = result.execute();
553552
if (response.isSuccessful()) {

0 commit comments

Comments
 (0)