Fix migration of pages

This commit is contained in:
CodeDoctorDE
2025-06-17 15:13:19 +02:00
parent 00cc2ad861
commit 584c07da87
9 changed files with 289 additions and 287 deletions

View File

@ -165,6 +165,8 @@ NoteData _migrate(NoteData noteData, FileMetadata metadata) {
}
}
}
noteData = noteData.setAsset(
'$kPagesArchiveDirectory/$page', utf8.encode(json.encode(pageData)));
}
final info = noteData.getAsset(kInfoArchiveFile);
if (info != null) {