mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-14 16:09:31 +01:00
fix: Stories displayname cropping
This commit is contained in:
parent
d7d3b301fd
commit
6f06c6a054
@ -141,14 +141,18 @@ class _StoriesListTile extends StatelessWidget {
|
||||
],
|
||||
),
|
||||
),
|
||||
SizedBox(height: 4),
|
||||
Text(displayname.split(' ').first,
|
||||
style: TextStyle(
|
||||
fontWeight: hasStatusMessage ? FontWeight.bold : null,
|
||||
color: hasStatusMessage
|
||||
? Theme.of(context).accentColor
|
||||
: null,
|
||||
)),
|
||||
Padding(
|
||||
padding:
|
||||
const EdgeInsets.only(left: 4.0, right: 4.0, top: 4.0),
|
||||
child: Text(displayname.split(' ').first,
|
||||
maxLines: 1,
|
||||
style: TextStyle(
|
||||
fontWeight: hasStatusMessage ? FontWeight.bold : null,
|
||||
color: hasStatusMessage
|
||||
? Theme.of(context).accentColor
|
||||
: null,
|
||||
)),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user