Change episode title max line to 2.

This commit is contained in:
stonega 2021-01-25 00:16:59 +08:00
parent 566ae0914f
commit fe04c8133c
1 changed files with 1 additions and 2 deletions

View File

@ -154,10 +154,9 @@ class EpisodeCard extends StatelessWidget {
contentPadding: EdgeInsets.symmetric(vertical: 8), contentPadding: EdgeInsets.symmetric(vertical: 8),
onTap: onTap, onTap: onTap,
title: Container( title: Container(
padding: EdgeInsets.fromLTRB(0, 5.0, 20.0, 5.0),
child: Text( child: Text(
episode.title, episode.title,
maxLines: 1, maxLines: 2,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
), ),