mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-15 11:48:21 +00:00
fix: name overflow on stream page
This commit is contained in:
@ -159,7 +159,6 @@ class _StreamPage extends State<StreamPage> with RouteAware {
|
||||
stream.info.host,
|
||||
children: [
|
||||
NotificationsButtonWidget(stream: widget.stream),
|
||||
Spacer(),
|
||||
BasicButton(
|
||||
Row(
|
||||
children: [Icon(Icons.bolt, size: 14), Text(t.zap.button_zap)],
|
||||
|
@ -65,6 +65,7 @@ class ProfileNameWidget extends StatelessWidget {
|
||||
final inner = Text(
|
||||
ProfileNameWidget.nameFromProfile(profile),
|
||||
style: style,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
);
|
||||
if (linkToProfile ?? true) {
|
||||
return GestureDetector(
|
||||
@ -130,10 +131,12 @@ class ProfileWidget extends StatelessWidget {
|
||||
children: [
|
||||
AvatarWidget(profile: profile, size: size),
|
||||
if (showName ?? true)
|
||||
ProfileNameWidget(
|
||||
profile: profile,
|
||||
key: key,
|
||||
linkToProfile: linkToProfile,
|
||||
Expanded(
|
||||
child: ProfileNameWidget(
|
||||
profile: profile,
|
||||
key: key,
|
||||
linkToProfile: linkToProfile,
|
||||
),
|
||||
),
|
||||
...(children ?? []),
|
||||
],
|
||||
|
Reference in New Issue
Block a user