fix: 直播详情页传参

This commit is contained in:
guozhigq
2023-07-19 19:55:39 +08:00
parent 5abb483b2b
commit 04c90830bb
5 changed files with 15 additions and 7 deletions

View File

@ -70,8 +70,11 @@ class _LiveRoomPageState extends State<LiveRoomPage> {
style: const TextStyle(fontSize: 14),
),
const SizedBox(height: 1),
Text(_liveRoomController.liveItem.watchedShow['text_large'],
style: const TextStyle(fontSize: 12)),
if (_liveRoomController.liveItem.watchedShow != null)
Text(
_liveRoomController.liveItem.watchedShow['text_large'] ??
'',
style: const TextStyle(fontSize: 12)),
],
),
],