6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 5e5f53de

AuthorEdmir Suljic<esu@dwarf.dk>
Date2025-05-27 16:39:43 +0200
Resolved bug comments

Changed files

.../lib/my_booking/my_booking_page.dart            | 29 ++++++++--------------
 1 file changed, 10 insertions(+), 19 deletions(-)

Diff

diff --git a/comwell_key_app/lib/my_booking/my_booking_page.dart b/comwell_key_app/lib/my_booking/my_booking_page.dart
index f31bd3a7..95db6ffe 100644
--- a/comwell_key_app/lib/my_booking/my_booking_page.dart
+++ b/comwell_key_app/lib/my_booking/my_booking_page.dart
@@ -35,6 +35,7 @@ class MyBookingPage extends StatelessWidget {
'my_booking'.tr(),
style: theme.textTheme.titleLarge?.copyWith(
fontWeight: FontWeight.bold,
+ color: Colors.black.withOpacity(0.65),
),
),
const SizedBox(height: 8),
@@ -58,20 +59,6 @@ class MyBookingPage extends StatelessWidget {
const Divider(color: colorDivider),
_buildCancellationPolicy(theme),
const Divider(color: colorDivider),
- Center(
- child: OutlinedButton(
- style: OutlinedButton.styleFrom(
- side: const BorderSide(color: Colors.red),
- ),
- onPressed: () {},
- child: Text(
- 'cancel_booking'.tr(),
- style: theme.textTheme.bodyMedium?.copyWith(
- color: Colors.red,
- ),
- ),
- ),
- ),
const SizedBox(height: 100)
],
),
@@ -161,7 +148,6 @@ class MyBookingPage extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text('booking_details'.tr(), style: theme.textTheme.titleMedium),
-
Text(booking.roomType, style: theme.textTheme.bodyMedium),
const SizedBox(height: 16),
const Divider(color: colorDivider),
@@ -226,10 +212,11 @@ class MyBookingPage extends StatelessWidget {
style: theme.textTheme.titleLarge?.copyWith(
fontSize: 24,
fontWeight: FontWeight.bold,
+ color: Colors.black.withOpacity(0.65),
),
),
const SizedBox(height: 16),
- Row(
+ Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Column(
@@ -245,10 +232,12 @@ class MyBookingPage extends StatelessWidget {
),
const SizedBox(height: 16),
const Divider(color: colorDivider),
- const SizedBox(height: 16),
- Text('payment_date'.tr(), style: theme.textTheme.bodyMedium),
+ const SizedBox(height: 8),
+ Text('payment_date'.tr(), style: theme.textTheme.titleMedium),
+ const SizedBox(height: 4),
Text(DateFormat('d. MMM').format(booking.bookingDate),
style: theme.textTheme.bodyMedium),
+ const SizedBox(height: 16),
],
);
}
@@ -259,7 +248,9 @@ class MyBookingPage extends StatelessWidget {
children: [
Text(
'cancellation_policy'.tr(),
- style: theme.textTheme.titleMedium,
+ style: theme.textTheme.titleMedium?.copyWith(
+ color: Colors.black.withOpacity(0.65),
+ ),
),
const SizedBox(height: 8),
Text(