refactor(ui): Move service descriptions above login info for service cards

- Resolves https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/issues/341
This commit is contained in:
NaiJi 2023-09-16 00:45:15 -03:00
parent eb92a8ee56
commit d2ed9f3a75

View file

@ -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),
],