Merge branch 'master' into plug-backgrounds

This commit is contained in:
NaiJi ✨ 2023-09-26 18:46:14 +03:00
commit f9c951f127

View file

@ -136,16 +136,16 @@ class _Card extends StatelessWidget {
), ),
), ),
), ),
const SizedBox(width: 8),
Text(
service.displayName,
style: Theme.of(context).textTheme.headlineMedium,
),
], ],
), ),
Column( Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
const SizedBox(height: 12),
Text(
service.displayName,
style: Theme.of(context).textTheme.headlineMedium,
),
const SizedBox(height: 8), const SizedBox(height: 8),
if (service.url != '' && service.url != null) if (service.url != '' && service.url != null)
Column( Column(
@ -153,7 +153,7 @@ class _Card extends StatelessWidget {
_ServiceLink( _ServiceLink(
url: service.url ?? '', url: service.url ?? '',
), ),
const SizedBox(height: 10), const SizedBox(height: 8),
], ],
), ),
if (service.id == 'mailserver') if (service.id == 'mailserver')
@ -163,21 +163,21 @@ class _Card extends StatelessWidget {
url: domainName, url: domainName,
isActive: false, isActive: false,
), ),
const SizedBox(height: 10), const SizedBox(height: 8),
], ],
), ),
Text( Text(
service.description, service.description,
style: Theme.of(context).textTheme.bodyMedium, style: Theme.of(context).textTheme.bodyMedium,
), ),
const SizedBox(height: 10), const SizedBox(height: 8),
Text( Text(
service.loginInfo, service.loginInfo,
style: Theme.of(context).textTheme.bodyMedium?.copyWith( style: Theme.of(context).textTheme.bodyMedium?.copyWith(
color: Theme.of(context).colorScheme.secondary, color: Theme.of(context).colorScheme.secondary,
), ),
), ),
const SizedBox(height: 10), const SizedBox(height: 8),
], ],
) )
], ],