Limit stream card category to one line (#91)

This commit is contained in:
Tommy Chow 2022-03-26 00:50:02 -04:00
parent 671fba2af9
commit 85ff078a59

View file

@ -135,11 +135,16 @@ class StreamCard extends StatelessWidget {
const SizedBox(height: 5.0),
if (showCategory) ...[
InkWell(
child: Text(
streamInfo.gameName,
style: TextStyle(
fontWeight: FontWeight.w300,
color: DefaultTextStyle.of(context).style.color?.withOpacity(0.8),
child: Tooltip(
message: streamInfo.gameName,
preferBelow: false,
child: Text(
streamInfo.gameName,
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontWeight: FontWeight.w300,
color: DefaultTextStyle.of(context).style.color?.withOpacity(0.8),
),
),
),
onTap: () async {