mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 10:47:25 +01:00
Set work when saving recordings
This commit is contained in:
parent
9bece557c7
commit
a6d795ef3c
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class _RecordingEditorState extends State<RecordingEditor> {
|
|||
onPressed: () async {
|
||||
final recording = Recording(
|
||||
id: widget.recording?.id ?? generateId(),
|
||||
work: null,
|
||||
work: work.id,
|
||||
);
|
||||
|
||||
await backend.db.updateRecording(recording, performances);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue