6177214e-ce7c-49e3-99de-ff9721b26f63 — Commit 6619cfd4

AuthorEdmir Suljic<esu@dwarf.dk>
Date2025-06-11 13:06:27 +0200
updated border color on find booking button

Changed files

comwell_key_app/lib/overview/overview_page.dart | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Diff

diff --git a/comwell_key_app/lib/overview/overview_page.dart b/comwell_key_app/lib/overview/overview_page.dart
index 8534c5f7..566d3841 100644
--- a/comwell_key_app/lib/overview/overview_page.dart
+++ b/comwell_key_app/lib/overview/overview_page.dart
@@ -38,6 +38,7 @@ class OverviewTabViewState extends State<OverviewPage>
@override
Widget build(BuildContext context) {
+ final theme = Theme.of(context);
return BlocListener<OverviewCubit, OverviewState>(
listener: (context, state) {
if (state is OverviewNoBookingFound) {
@@ -75,7 +76,7 @@ class OverviewTabViewState extends State<OverviewPage>
color: sandColor,
),
labelColor: Colors.white,
- labelStyle: Theme.of(context).textTheme.bodyMedium,
+ labelStyle: theme.textTheme.bodyMedium,
unselectedLabelColor: Colors.black,
dividerColor: Colors.transparent,
tabs: [
@@ -113,14 +114,13 @@ class OverviewTabViewState extends State<OverviewPage>
onPressed: () async {
context.pushNamed(AppRoutes.findBooking.name);
},
- icon: Icon(Icons.search,
- color: Theme.of(context).dividerColor),
+ icon: Icon(Icons.search, color: theme.dividerColor),
label: Text(
'find_booking'.tr(),
- style: TextStyle(color: Theme.of(context).dividerColor),
+ style: theme.textTheme.bodyMedium,
),
style: OutlinedButton.styleFrom(
- side: BorderSide(color: Theme.of(context).dividerColor),
+ side: const BorderSide(color: colorDivider),
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(25),
),