Merge pull request 'refactor(ui): Move service descriptions above login info for service cards' (#342) from service-descriptions into master

Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/342
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
NaiJi ✨ 2023-09-18 18:23:04 +03:00
commit 90e73ec2f3

View file

@ -160,13 +160,15 @@ class _Card extends StatelessWidget {
], ],
), ),
Text( Text(
service.loginInfo, service.description,
style: Theme.of(context).textTheme.bodyMedium, style: Theme.of(context).textTheme.bodyMedium,
), ),
const SizedBox(height: 10), const SizedBox(height: 10),
Text( Text(
service.description, service.loginInfo,
style: Theme.of(context).textTheme.bodyMedium, style: Theme.of(context).textTheme.bodyMedium?.copyWith(
color: Theme.of(context).colorScheme.secondary,
),
), ),
const SizedBox(height: 10), const SizedBox(height: 10),
], ],