Added Streams to TourRepository
This commit is contained in:
@ -17,6 +17,9 @@ class _DeliveryStepInfo extends State<DeliveryStepOptions> {
|
||||
debugPrint(
|
||||
"${widget.delivery.options.map((option) => "${option.display}, ${option.value}")}",
|
||||
);
|
||||
return DeliveryOptionsView(options: widget.delivery.options);
|
||||
return DeliveryOptionsView(
|
||||
options: widget.delivery.options,
|
||||
deliveryId: widget.delivery.id,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@ -41,7 +41,7 @@ class _DeliveryStepInfo extends State<DeliveryStepNote> {
|
||||
BuildContext context,
|
||||
List<Note> notes,
|
||||
List<NoteTemplate> templates,
|
||||
List<(ImageNote, Uint8List)> images,
|
||||
List<ImageNote> images,
|
||||
) {
|
||||
List<NoteInformation> hydratedNotes =
|
||||
notes
|
||||
@ -75,8 +75,8 @@ class _DeliveryStepInfo extends State<DeliveryStepNote> {
|
||||
return _notesOverview(
|
||||
context,
|
||||
state.notes,
|
||||
state.templates,
|
||||
state.images,
|
||||
(state.templates ?? []),
|
||||
(state.images ?? []),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user