chore: adjust text / icon sizes in find your people view (#2921)

pull/2245/head
ggurdin 6 months ago committed by GitHub
parent f619b3345e
commit 76d9648a71
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -34,7 +34,7 @@ class FindYourPeopleView extends StatelessWidget {
), ),
title: Icon( title: Icon(
Icons.groups_outlined, Icons.groups_outlined,
size: 20.0, size: 24.0,
color: theme.colorScheme.primary, color: theme.colorScheme.primary,
), ),
centerTitle: false, centerTitle: false,
@ -46,14 +46,14 @@ class FindYourPeopleView extends StatelessWidget {
Icon( Icon(
Icons.join_full, Icons.join_full,
color: theme.colorScheme.primary, color: theme.colorScheme.primary,
size: 20.0, size: 24.0,
), ),
const SizedBox(width: 8.0), const SizedBox(width: 8.0),
Text( Text(
L10n.of(context).joinWithCode, L10n.of(context).joinWithCode,
style: TextStyle( style: TextStyle(
color: theme.colorScheme.primary, color: theme.colorScheme.primary,
fontSize: 10.0, fontSize: 14.0,
), ),
), ),
], ],
@ -160,7 +160,7 @@ class FindYourPeopleView extends StatelessWidget {
L10n.of(context).joinWithCode, L10n.of(context).joinWithCode,
style: TextStyle( style: TextStyle(
color: theme.colorScheme.onPrimaryContainer, color: theme.colorScheme.onPrimaryContainer,
fontSize: 14.0, fontSize: 16.0,
), ),
), ),
], ],
@ -182,7 +182,7 @@ class FindYourPeopleView extends StatelessWidget {
L10n.of(context).createYourSpace, L10n.of(context).createYourSpace,
style: TextStyle( style: TextStyle(
color: theme.colorScheme.onPrimaryContainer, color: theme.colorScheme.onPrimaryContainer,
fontSize: 14.0, fontSize: 16.0,
), ),
), ),
], ],

@ -49,6 +49,7 @@ class PublicSpaceTile extends StatelessWidget {
child: Column( child: Column(
spacing: 8.0, spacing: 8.0,
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
children: [ children: [
Text( Text(
space.name ?? '', space.name ?? '',
@ -66,14 +67,14 @@ class PublicSpaceTile extends StatelessWidget {
children: [ children: [
Icon( Icon(
Icons.group, Icons.group,
size: isColumnMode ? 30.0 : 16.0, size: isColumnMode ? 20.0 : 16.0,
), ),
Text( Text(
L10n.of(context).countParticipants( L10n.of(context).countParticipants(
space.numJoinedMembers, space.numJoinedMembers,
), ),
style: TextStyle( style: TextStyle(
fontSize: isColumnMode ? 20.0 : 12.0, fontSize: isColumnMode ? 16.0 : 12.0,
height: 1.2, height: 1.2,
), ),
), ),
@ -90,7 +91,7 @@ class PublicSpaceTile extends StatelessWidget {
Text( Text(
space.topic!, space.topic!,
style: const TextStyle( style: const TextStyle(
fontSize: 20.0, fontSize: 16.0,
height: 1.2, height: 1.2,
), ),
maxLines: 2, maxLines: 2,

Loading…
Cancel
Save