6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 1d50bd41
Changed files
.../lib/hotel_information/components/maps_bottom_modal.dart | 1 - .../lib/hotel_information/components/parking_facility_page.dart | 4 +++- .../lib/hotel_information/components/restaurant_page.dart | 9 +++++---- comwell_key_app/lib/overview/models/booking.dart | 2 -- comwell_key_app/lib/routing/app_router.dart | 3 --- 5 files changed, 8 insertions(+), 11 deletions(-)
Diff
diff --git a/comwell_key_app/lib/hotel_information/components/maps_bottom_modal.dart b/comwell_key_app/lib/hotel_information/components/maps_bottom_modal.dart
index 0142d351..44feb3b5 100644
--- a/comwell_key_app/lib/hotel_information/components/maps_bottom_modal.dart
+++ b/comwell_key_app/lib/hotel_information/components/maps_bottom_modal.dart
@@ -1,4 +1,3 @@
-import 'package:comwell_key_app/themes/light_theme.dart';
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
import 'dart:io' show Platform;
diff --git a/comwell_key_app/lib/hotel_information/components/parking_facility_page.dart b/comwell_key_app/lib/hotel_information/components/parking_facility_page.dart
index 17bfad19..6edce327 100644
--- a/comwell_key_app/lib/hotel_information/components/parking_facility_page.dart
+++ b/comwell_key_app/lib/hotel_information/components/parking_facility_page.dart
@@ -47,7 +47,9 @@ class ParkingFacilityPage extends StatelessWidget {
block.data,
style: block.type == "headerBlock"
? theme.textTheme.headlineSmall
- : theme.textTheme.bodySmall,
+ : theme.textTheme.bodySmall?.copyWith(
+ color: Colors.black.withValues(alpha: 0.65),
+ ),
),
);
}).toList(),
diff --git a/comwell_key_app/lib/hotel_information/components/restaurant_page.dart b/comwell_key_app/lib/hotel_information/components/restaurant_page.dart
index cf359513..0fba113f 100644
--- a/comwell_key_app/lib/hotel_information/components/restaurant_page.dart
+++ b/comwell_key_app/lib/hotel_information/components/restaurant_page.dart
@@ -5,14 +5,12 @@ import 'package:comwell_key_app/themes/light_theme.dart';
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';
-import 'dart:io' show Platform;
class RestaurantPage extends StatelessWidget {
final Restaurant restaurant;
const RestaurantPage({super.key, required this.restaurant});
-
@override
Widget build(BuildContext context) {
final theme = Theme.of(context);
@@ -50,7 +48,9 @@ class RestaurantPage extends StatelessWidget {
block.data,
style: block.type == "headerBlock"
? theme.textTheme.headlineSmall
- : theme.textTheme.bodySmall,
+ : theme.textTheme.bodySmall?.copyWith(
+ color: Colors.black.withValues(alpha: 0.65),
+ ),
),
);
}).toList(),
@@ -66,7 +66,8 @@ class RestaurantPage extends StatelessWidget {
style: theme.textTheme.headlineMedium,
),
GestureDetector(
- onTap: () => MapsBottomModal.show(context, restaurant.address),
+ onTap: () =>
+ MapsBottomModal.show(context, restaurant.address),
child: Text(
restaurant.address,
style: theme.textTheme.bodySmall?.copyWith(
diff --git a/comwell_key_app/lib/overview/models/booking.dart b/comwell_key_app/lib/overview/models/booking.dart
index e8070ef8..79eda974 100644
--- a/comwell_key_app/lib/overview/models/booking.dart
+++ b/comwell_key_app/lib/overview/models/booking.dart
@@ -154,8 +154,6 @@ enum ReservationStatus {
}
final status = ReservationStatus.values.firstWhere(
(status) => status.name.toLowerCase() == value.toLowerCase());
-
- print("status: $status");
return status;
}
}
diff --git a/comwell_key_app/lib/routing/app_router.dart b/comwell_key_app/lib/routing/app_router.dart
index c820663d..0cf388b3 100644
--- a/comwell_key_app/lib/routing/app_router.dart
+++ b/comwell_key_app/lib/routing/app_router.dart
@@ -136,7 +136,6 @@ GoRouter goRouter() {
path: "/${AppRoutes.hotelInformation.name}/${AppRoutes.spa.name}",
name: "${AppRoutes.hotelInformation.name}/${AppRoutes.spa.name}",
builder: (context, state) {
- print("spa ${AppRoutes.spa}");
final spa = state.extra as Spa;
return SpaFacilityPage(spa: spa);
}),
@@ -144,7 +143,6 @@ GoRouter goRouter() {
path: "/${AppRoutes.hotelInformation.name}/restaurant",
name: "${AppRoutes.hotelInformation.name}/restaurant",
builder: (context, state) {
- print("restaurant ${state.extra}");
final restaurant = state.extra as Restaurant;
return RestaurantPage(restaurant: restaurant);
}),
@@ -152,7 +150,6 @@ GoRouter goRouter() {
path: "/${AppRoutes.hotelInformation.name}/parking",
name: "${AppRoutes.hotelInformation.name}/parking",
builder: (context, state) {
- print("parking ${state.extra}");
final parking = state.extra as ParkingInfo;
return ParkingFacilityPage(parkingInfo: parking);
}),