From 8f11ef577e81c12b44f9fb966e460c1ca9669095 Mon Sep 17 00:00:00 2001 From: nextwo <1234> Date: Thu, 19 Oct 2023 11:21:57 +0300 Subject: [PATCH] gas refill --- lib/new_views/common_widgets/app_search_field.dart | 2 +- lib/new_views/pages/land_page/my_request/my_requests_page.dart | 2 +- lib/views/pages/user/gas_refill/track_gas_refill.dart | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/new_views/common_widgets/app_search_field.dart b/lib/new_views/common_widgets/app_search_field.dart index 38e3668c..09286d5f 100644 --- a/lib/new_views/common_widgets/app_search_field.dart +++ b/lib/new_views/common_widgets/app_search_field.dart @@ -21,7 +21,7 @@ class _AppSearchFieldState extends State { onSubmitted: widget.onSubmitted, decoration: InputDecoration( prefixIcon: const Icon(Icons.search, color: AppColor.neutral20,), - hintText: context.translate(TranslationKeys.search), + hintText: context.translation.search, hintStyle: TextStyle( fontSize: Theme.of(context).textTheme.bodySmall.fontSize ), diff --git a/lib/new_views/pages/land_page/my_request/my_requests_page.dart b/lib/new_views/pages/land_page/my_request/my_requests_page.dart index b8653094..0a7f9bd3 100644 --- a/lib/new_views/pages/land_page/my_request/my_requests_page.dart +++ b/lib/new_views/pages/land_page/my_request/my_requests_page.dart @@ -24,7 +24,7 @@ class MyRequestsPage extends StatelessWidget { height: 50, child: AppSearchField())), SizedBox(width: 20,), - Text(context.translate(TranslationKeys.filter), style: TextStyle( + Text("Filter", style: TextStyle( color: AppColor.primary50, fontSize: Theme.of(context).textTheme.bodySmall.fontSize, fontWeight: FontWeight.w500 diff --git a/lib/views/pages/user/gas_refill/track_gas_refill.dart b/lib/views/pages/user/gas_refill/track_gas_refill.dart index b08042a7..a95aa400 100644 --- a/lib/views/pages/user/gas_refill/track_gas_refill.dart +++ b/lib/views/pages/user/gas_refill/track_gas_refill.dart @@ -70,7 +70,7 @@ class _TrackGasRefillPageState extends State with TickerProv height: 40, child: AppSearchField())), SizedBox(width: 20,), - Text(context.translate(TranslationKeys.filter), style: TextStyle( + Text("Filter", style: TextStyle( color: AppColor.primary50, fontSize: Theme.of(context).textTheme.bodySmall.fontSize, fontWeight: FontWeight.w500