mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-15 11:48:21 +00:00
fix: scroll tags on stream info widget
This commit is contained in:
@ -87,24 +87,28 @@ class StreamInfoWidget extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
|
|
||||||
if (stream.info.tags.isNotEmpty || stream.info.gameInfo != null)
|
if (stream.info.tags.isNotEmpty || stream.info.gameInfo != null)
|
||||||
Row(
|
SingleChildScrollView(
|
||||||
spacing: 2,
|
scrollDirection: Axis.horizontal,
|
||||||
children: [
|
primary: false,
|
||||||
if (stream.info.gameInfo != null)
|
child: Row(
|
||||||
GameInfoWidget(info: stream.info.gameInfo!),
|
spacing: 2,
|
||||||
...stream.info.tags.map(
|
children: [
|
||||||
(t) => PillWidget(
|
if (stream.info.gameInfo != null)
|
||||||
color: LAYER_2,
|
GameInfoWidget(info: stream.info.gameInfo!),
|
||||||
onTap: () {
|
...stream.info.tags.map(
|
||||||
context.push("/t/${Uri.encodeComponent(t)}");
|
(t) => PillWidget(
|
||||||
},
|
color: LAYER_2,
|
||||||
child: Text(
|
onTap: () {
|
||||||
t,
|
context.push("/t/${Uri.encodeComponent(t)}");
|
||||||
style: TextStyle(fontWeight: FontWeight.bold),
|
},
|
||||||
|
child: Text(
|
||||||
|
t,
|
||||||
|
style: TextStyle(fontWeight: FontWeight.bold),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
],
|
||||||
],
|
),
|
||||||
),
|
),
|
||||||
StreamCardsWidget(stream: stream),
|
StreamCardsWidget(stream: stream),
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user