From dfaba4cacbf38ce797954189cdf427d8dfe1ed2f Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 29 May 2022 11:37:01 +0200 Subject: [PATCH] refactor: Stories header --- lib/pages/chat_list/stories_header.dart | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/pages/chat_list/stories_header.dart b/lib/pages/chat_list/stories_header.dart index 81568327a..443115acb 100644 --- a/lib/pages/chat_list/stories_header.dart +++ b/lib/pages/chat_list/stories_header.dart @@ -266,17 +266,17 @@ class _StoryButton extends StatelessWidget { ), ), ), - const Spacer(), - Text( - profile.displayName ?? '', - maxLines: 1, - textAlign: TextAlign.center, - style: TextStyle( - fontSize: 12, - fontWeight: unread ? FontWeight.bold : null, + Center( + child: Text( + profile.displayName ?? '', + maxLines: 1, + textAlign: TextAlign.center, + style: TextStyle( + fontSize: 12, + fontWeight: unread ? FontWeight.bold : null, + ), ), ), - const Spacer(), ], ), ),