Vaibhav_Feature-#541 #52

Merged
umesh.desai merged 39 commits from Vaibhav_Feature-#541 into main 2025-07-11 07:39:26 +00:00
Showing only changes of commit 1ad880a021 - Show all commits

View File

@ -63,6 +63,11 @@ class NotesController extends GetxController {
if (oldNote != null && oldNote.note.trim() == updatedNote.note.trim()) { if (oldNote != null && oldNote.note.trim() == updatedNote.note.trim()) {
logSafe("No changes detected in note. id: ${updatedNote.id}"); logSafe("No changes detected in note. id: ${updatedNote.id}");
showAppSnackbar(
title: "No Changes",
message: "No changes were made to the note.",
type: SnackbarType.info,
);
return; return;
} }
@ -79,6 +84,11 @@ class NotesController extends GetxController {
notesList[index] = updatedNote; notesList[index] = updatedNote;
notesList.refresh(); notesList.refresh();
} }
showAppSnackbar(
title: "Success",
message: "Note updated successfully.",
type: SnackbarType.success,
);
} else { } else {
showAppSnackbar( showAppSnackbar(
title: "Error", title: "Error",