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

pull/2245/head
ggurdin 5 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(
Icons.groups_outlined,
size: 20.0,
size: 24.0,
color: theme.colorScheme.primary,
),
centerTitle: false,
@ -46,14 +46,14 @@ class FindYourPeopleView extends StatelessWidget {
Icon(
Icons.join_full,
color: theme.colorScheme.primary,
size: 20.0,
size: 24.0,
),
const SizedBox(width: 8.0),
Text(
L10n.of(context).joinWithCode,
style: TextStyle(
color: theme.colorScheme.primary,
fontSize: 10.0,
fontSize: 14.0,
),
),
],
@ -160,7 +160,7 @@ class FindYourPeopleView extends StatelessWidget {
L10n.of(context).joinWithCode,
style: TextStyle(
color: theme.colorScheme.onPrimaryContainer,
fontSize: 14.0,
fontSize: 16.0,
),
),
],
@ -182,7 +182,7 @@ class FindYourPeopleView extends StatelessWidget {
L10n.of(context).createYourSpace,
style: TextStyle(
color: theme.colorScheme.onPrimaryContainer,
fontSize: 14.0,
fontSize: 16.0,
),
),
],

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

Loading…
Cancel
Save