From 5b053c645c5409b09080306bc36d00a58cb17e81 Mon Sep 17 00:00:00 2001 From: Kima Date: Tue, 9 Apr 2024 22:57:56 +0200 Subject: [PATCH] fixed invisible toggle on plus screen --- refilc_mobile_ui/lib/plus/plus_screen.dart | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/refilc_mobile_ui/lib/plus/plus_screen.dart b/refilc_mobile_ui/lib/plus/plus_screen.dart index 5837938..7759721 100644 --- a/refilc_mobile_ui/lib/plus/plus_screen.dart +++ b/refilc_mobile_ui/lib/plus/plus_screen.dart @@ -1,6 +1,5 @@ // ignore_for_file: use_build_context_synchronously -import 'package:refilc/theme/colors/colors.dart'; import 'package:refilc_mobile_ui/plus/plus_screen.i18n.dart'; import 'package:refilc_mobile_ui/plus/components/plan_card.dart'; import 'package:flutter_feather_icons/flutter_feather_icons.dart'; @@ -295,7 +294,7 @@ class PlusScreenState extends State { decoration: BoxDecoration( borderRadius: BorderRadius.circular(16.0), border: Border.all( - color: AppColors.of(context).text.withOpacity(0.2), + color: Colors.black.withOpacity(0.2), ), ), child: SwitchListTile( @@ -307,7 +306,13 @@ class PlusScreenState extends State { showLifetime = !showLifetime; }); }, - title: Text('show_lifetime'.i18n), + title: Text( + 'show_lifetime'.i18n, + style: const TextStyle( + color: Colors.black, + fontWeight: FontWeight.w500, + ), + ), ), ), // reactivate plus @@ -318,7 +323,7 @@ class PlusScreenState extends State { decoration: BoxDecoration( borderRadius: BorderRadius.circular(16.0), border: Border.all( - color: AppColors.of(context).text.withOpacity(0.2), + color: Colors.black.withOpacity(0.2), ), ), child: ListTile( @@ -359,7 +364,13 @@ class PlusScreenState extends State { } } }, - title: Text('reactivate'.i18n), + title: Text( + 'reactivate'.i18n, + style: const TextStyle( + color: Colors.black, + fontWeight: FontWeight.w500, + ), + ), ), ), // faq section