Skip to content

Commit d8f7514

Browse files
committed
fix: set default room size to 18
1 parent 25b754b commit d8f7514

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/src/slots/presentation/widgets/edit_slot_dialog.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class _EditSlotDialogState extends State<EditSlotDialog> {
6464
end = widget.slot?.endUnit;
6565

6666
supervisors = List.of(widget.slot?.supervisors ?? []);
67-
size = widget.slot?.size ?? 1;
67+
size = widget.slot?.size ?? 18; //TODO(mastermarcohd): request default size from backend;
6868
mappings = List.of(widget.slot?.mappings ?? []);
6969
courseMappings = mappings.map((m) => MappingElement(mappingId: m.id, courseId: m.courseId, vintage: m.vintage)).toList();
7070
if (courseMappings.isEmpty) courseMappings.add(MappingElement());

0 commit comments

Comments
 (0)