6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit ec25fac6

AuthorEdmir Suljic<esu@dwarf.dk>
Date2025-06-26 10:24:49 +0200
mid fix

Changed files

.../lib/booking_details/components/booking_details_bottom_sheet.dart   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Diff

diff --git a/comwell_key_app/lib/booking_details/components/booking_details_bottom_sheet.dart b/comwell_key_app/lib/booking_details/components/booking_details_bottom_sheet.dart
index d55ea1f3..7e71c939 100644
--- a/comwell_key_app/lib/booking_details/components/booking_details_bottom_sheet.dart
+++ b/comwell_key_app/lib/booking_details/components/booking_details_bottom_sheet.dart
@@ -23,7 +23,6 @@ class BookingDetailsBottomSheet extends StatelessWidget {
final theme = Theme.of(context);
return BottomSheetWidget(
widgetChildren: [
- const SizedBox(height: 16),
const SizedBox(height: 16),
cubit.booking.reservationStatus == ReservationStatus.checkedin && cubit.getCheckOutTime().isBefore(DateTime.now())
? const Padding(
@@ -80,11 +79,13 @@ class BookingDetailsBottomSheet extends StatelessWidget {
),
]),
const SizedBox(height: 16),
+ if (cubit.booking.roomNumber != '')
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
child: Text('rooms'.tr(), style: theme.textTheme.headlineMedium),
),
const SizedBox(height: 16),
+ if (state.keys.isNotEmpty)
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16),
child: Text('room_keys'.tr(), style: theme.textTheme.headlineMedium),