Skip to content

Commit 9f544cb

Browse files
gnpricechrisbobbe
authored andcommitted
profile: Add a spacer between name/status and email/role
At 4 items high, this is already a bit of a stack of information. We'll soon add a 5th item, so it'll be good to have it split up. A logical grouping is to separate the things that are potentially timely (the name adorned with presence circle and status emoji, then the status message) from the things that change rarely (the user's email and role).
1 parent c6fcbf6 commit 9f544cb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/widgets/profile.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ class ProfilePage extends StatelessWidget {
9393
textAlign: TextAlign.center,
9494
style: TextStyle(fontSize: 18, height: 22 / 18,
9595
color: DesignVariables.of(context).userStatusText)),
96+
97+
const SizedBox(height: 8),
9698
if (displayEmail != null)
9799
Text(displayEmail,
98100
textAlign: TextAlign.center,

0 commit comments

Comments
 (0)