mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-07 00:24:18 +00:00
Merge pull request 'refactor(ui): Move service card name to its icon row' (#352) from service-card-naming into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.app/pulls/352 Reviewed-by: Inex Code <inex.code@selfprivacy.org>
This commit is contained in:
commit
a83e1e0056
|
@ -129,16 +129,16 @@ class _Card extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 8),
|
||||
Text(
|
||||
service.displayName,
|
||||
style: Theme.of(context).textTheme.headlineMedium,
|
||||
),
|
||||
],
|
||||
),
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
const SizedBox(height: 12),
|
||||
Text(
|
||||
service.displayName,
|
||||
style: Theme.of(context).textTheme.headlineMedium,
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
if (service.url != '' && service.url != null)
|
||||
Column(
|
||||
|
@ -146,7 +146,7 @@ class _Card extends StatelessWidget {
|
|||
_ServiceLink(
|
||||
url: service.url ?? '',
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
const SizedBox(height: 8),
|
||||
],
|
||||
),
|
||||
if (service.id == 'mailserver')
|
||||
|
@ -156,21 +156,21 @@ class _Card extends StatelessWidget {
|
|||
url: domainName,
|
||||
isActive: false,
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
const SizedBox(height: 8),
|
||||
],
|
||||
),
|
||||
Text(
|
||||
service.description,
|
||||
style: Theme.of(context).textTheme.bodyMedium,
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
const SizedBox(height: 8),
|
||||
Text(
|
||||
service.loginInfo,
|
||||
style: Theme.of(context).textTheme.bodyMedium?.copyWith(
|
||||
color: Theme.of(context).colorScheme.secondary,
|
||||
),
|
||||
),
|
||||
const SizedBox(height: 10),
|
||||
const SizedBox(height: 8),
|
||||
],
|
||||
)
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue