FIXME: Duplicate NoteSheets

This commit is contained in:
Fawkes100 2025-01-19 20:01:07 +01:00
parent 75ae569a55
commit 6f6e9a3b10

View File

@ -232,7 +232,7 @@ public class SongSyncRepository {
outdatedNoteSheets.add(noteSheet);
} else {
boolean foundNoteSheet = false;
for(NoteSheet noteSheet : outdatedNoteSheets) {
for(NoteSheet noteSheet : noteSheets) {
if(remoteNoteSheet.getServer_filename().equals(noteSheet.getServerFileName())) {
foundNoteSheet = true;
if(!remoteNoteSheet.getHash().equals(noteSheet.getHash())) {