Mark edited Song as Modified

This commit is contained in:
Fawkes100 2025-01-07 07:22:08 +01:00
parent b6f43b1114
commit 6768f3f2f4

View File

@ -12,6 +12,7 @@ import androidx.annotation.Nullable;
import androidx.fragment.app.DialogFragment; import androidx.fragment.app.DialogFragment;
import core.notevault.R; import core.notevault.R;
import core.notevault.data.MusicNote; import core.notevault.data.MusicNote;
import core.notevault.data.sync.SyncStatus;
public class SongEditDialog extends DialogFragment { public class SongEditDialog extends DialogFragment {
@ -55,6 +56,7 @@ public class SongEditDialog extends DialogFragment {
song.setComposer(composer); song.setComposer(composer);
song.setGenre(genre); song.setGenre(genre);
song.setYear(year); song.setYear(year);
song.setSyncStatus(SyncStatus.MODIFIED);
songEditorListener.onSongEdited(song); songEditorListener.onSongEdited(song);
} ) } )