From 6768f3f2f4f0461c89624b477ab1d2cd10e2a780 Mon Sep 17 00:00:00 2001 From: Fawkes100 Date: Tue, 7 Jan 2025 07:22:08 +0100 Subject: [PATCH] Mark edited Song as Modified --- .../java/core/notevault/ui/metadatadialog/SongEditDialog.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/core/notevault/ui/metadatadialog/SongEditDialog.java b/app/src/main/java/core/notevault/ui/metadatadialog/SongEditDialog.java index 1931c80..d0e156d 100644 --- a/app/src/main/java/core/notevault/ui/metadatadialog/SongEditDialog.java +++ b/app/src/main/java/core/notevault/ui/metadatadialog/SongEditDialog.java @@ -12,6 +12,7 @@ import androidx.annotation.Nullable; import androidx.fragment.app.DialogFragment; import core.notevault.R; import core.notevault.data.MusicNote; +import core.notevault.data.sync.SyncStatus; public class SongEditDialog extends DialogFragment { @@ -55,6 +56,7 @@ public class SongEditDialog extends DialogFragment { song.setComposer(composer); song.setGenre(genre); song.setYear(year); + song.setSyncStatus(SyncStatus.MODIFIED); songEditorListener.onSongEdited(song); } )