Skip to content

Commit

Permalink
try to fix fade effect on artist overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaphasilor committed Nov 10, 2024
1 parent b49792d commit b2022e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/components/AlbumScreen/track_list_tile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,7 @@ class TrackListItemTile extends StatelessWidget {
children: [
Flexible(
fit: FlexFit.loose,
flex: 2,
flex: 3,
child: Text(
baseItem.name ?? AppLocalizations.of(context)!.unknownName,
style: TextStyle(
Expand All @@ -701,8 +701,9 @@ class TrackListItemTile extends StatelessWidget {
),
Flexible(
fit: FlexFit.loose,
flex: 2,
child: Text.rich(
overflow: TextOverflow.fade,
overflow: TextOverflow.clip,
softWrap: false,
maxLines: 1,
TextSpan(children: [
Expand Down

0 comments on commit b2022e4

Please sign in to comment.