@@ -25,7 +25,6 @@ class UserProfileWidget extends ConsumerWidget {
2525 final User user;
2626
2727 final int bioMaxLines;
28- static const bioStyle = TextStyle (fontStyle: FontStyle .italic);
2928
3029 @override
3130 Widget build (BuildContext context, WidgetRef ref) {
@@ -69,7 +68,6 @@ class UserProfileWidget extends ConsumerWidget {
6968 linkifiers: AppLinksService .kLichessLinkifiers,
7069 text: user.profile! .bio! ,
7170 maxLines: bioMaxLines,
72- style: bioStyle,
7371 overflow: TextOverflow .ellipsis,
7472 linkStyle: Styles .linkStyle,
7573 ),
@@ -109,12 +107,12 @@ class UserProfileWidget extends ConsumerWidget {
109107 padding: const EdgeInsets .only (bottom: 5 ),
110108 child: Location (profile: user.profile! ),
111109 ),
110+ if (user.createdAt != null )
111+ Text ('${context .l10n .memberSince } ${DateFormat .yMMMMd ().format (user .createdAt !)}' ),
112112 if (user.count != null ) ...[
113- Text (context.l10n.nbGames (user.count! .all).localizeNumbers ()),
114113 const SizedBox (height: 5 ),
114+ Text (context.l10n.nbGames (user.count! .all).localizeNumbers ()),
115115 ],
116- if (user.createdAt != null )
117- Text ('${context .l10n .memberSince } ${DateFormat .yMMMMd ().format (user .createdAt !)}' ),
118116 if (user.playTime != null ) ...[
119117 const SizedBox (height: 5 ),
120118 Text (
0 commit comments