1
0
mirror of https://github.com/stonega/tsacdop synced 2025-01-21 19:35:28 +01:00

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

View File

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