diff --git a/board_games_companion/lib/pages/edit_playthrough/edit_playthrough_view_model.dart b/board_games_companion/lib/pages/edit_playthrough/edit_playthrough_view_model.dart index e850507d..ee8bf23f 100644 --- a/board_games_companion/lib/pages/edit_playthrough/edit_playthrough_view_model.dart +++ b/board_games_companion/lib/pages/edit_playthrough/edit_playthrough_view_model.dart @@ -198,7 +198,7 @@ abstract class _EditPlaythoughViewModel with Store { return; } - final updatedPlaythroughNotes = _playthroughDetailsWorkingCopy!.notes!; + final updatedPlaythroughNotes = _playthroughDetailsWorkingCopy!.notes!.toList(); updatedPlaythroughNotes[noteToUpdateIndex] = note; _updatePlaythroughDetailsNotes(updatedPlaythroughNotes);