From d2ed9f3a752307bcbb57062e5cf524152aef3bae Mon Sep 17 00:00:00 2001 From: NaiJi Date: Sat, 16 Sep 2023 00:45:15 -0300 Subject: [PATCH] refactor(ui): Move service descriptions above login info for service cards - Resolves https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/341 --- lib/ui/pages/services/services.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/ui/pages/services/services.dart b/lib/ui/pages/services/services.dart index 99bb848e..08446e78 100644 --- a/lib/ui/pages/services/services.dart +++ b/lib/ui/pages/services/services.dart @@ -160,13 +160,15 @@ class _Card extends StatelessWidget { ], ), Text( - service.loginInfo, + service.description, style: Theme.of(context).textTheme.bodyMedium, ), const SizedBox(height: 10), Text( - service.description, - style: Theme.of(context).textTheme.bodyMedium, + service.loginInfo, + style: Theme.of(context).textTheme.bodyMedium?.copyWith( + color: Theme.of(context).colorScheme.secondary, + ), ), const SizedBox(height: 10), ],