feat(ui): Move provider card title to the top row #449

Merged
NaiJi merged 4 commits from move-title-in-cards into master 2024-03-04 13:01:05 +02:00
1 changed files with 12 additions and 7 deletions

View File

@ -148,9 +148,18 @@ class _Card extends StatelessWidget {
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
IconStatusMask(
status: state,
icon: Icon(icon, size: 30, color: Colors.white),
Row(
children: [
IconStatusMask(
status: state,
icon: Icon(icon, size: 30, color: Colors.white),
),
const SizedBox(width: 8),
Text(
title,
style: Theme.of(context).textTheme.headlineMedium,

Style is not consistent with the service cards.
8684a2a48a/lib/ui/pages/services/services.dart (L142)

Double check that the cards look the same on both screens.

Style is not consistent with the service cards. https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/src/commit/8684a2a48a7da1b4576411c23efcc5432fae9e66/lib/ui/pages/services/services.dart#L142 Double check that the cards look the same on both screens.
),
],
),
if (state != StateType.uninitialized)
IconStatusMask(
@ -167,10 +176,6 @@ class _Card extends StatelessWidget {
],
),
const SizedBox(height: 8),
Text(
title,
style: Theme.of(context).textTheme.titleLarge,
),
if (state != StateType.uninitialized)
Text(
subtitle,