mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +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),
|
Padding(
|
||||||
Text(displayname.split(' ').first,
|
padding:
|
||||||
|
const EdgeInsets.only(left: 4.0, right: 4.0, top: 4.0),
|
||||||
|
child: Text(displayname.split(' ').first,
|
||||||
|
maxLines: 1,
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontWeight: hasStatusMessage ? FontWeight.bold : null,
|
fontWeight: hasStatusMessage ? FontWeight.bold : null,
|
||||||
color: hasStatusMessage
|
color: hasStatusMessage
|
||||||
? Theme.of(context).accentColor
|
? Theme.of(context).accentColor
|
||||||
: null,
|
: null,
|
||||||
)),
|
)),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user