refactor: Stories header

This commit is contained in:
Christian Pauly 2022-05-29 11:37:01 +02:00
parent df8bef0451
commit f5f1e4fb6e

View File

@ -266,8 +266,8 @@ class _StoryButton extends StatelessWidget {
), ),
), ),
), ),
const Spacer(), Center(
Text( child: Text(
profile.displayName ?? '', profile.displayName ?? '',
maxLines: 1, maxLines: 1,
textAlign: TextAlign.center, textAlign: TextAlign.center,
@ -276,7 +276,7 @@ class _StoryButton extends StatelessWidget {
fontWeight: unread ? FontWeight.bold : null, fontWeight: unread ? FontWeight.bold : null,
), ),
), ),
const Spacer(), ),
], ],
), ),
), ),