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,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(),
],
),
),