Skip to content

Commit

Permalink
Dont try to save shared notes..
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasdelellis committed Jan 3, 2021
1 parent 92ca340 commit b195027
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ public boolean onOptionsItemSelected(@NonNull MenuItem item) {
closeEdition();
return true;
}

fetchDataToNoteObject();

if (note.getTitle().isEmpty()) {
Expand Down Expand Up @@ -626,7 +627,12 @@ private boolean hasModifications() {
return false;
}

if (note.getIsShared()) {
return false;
}

fetchDataToNoteObject();

return !note.equals(shadowCopyNote);
}

Expand Down

0 comments on commit b195027

Please sign in to comment.