diff --git a/lib/views/course_view/components/live_stream_section.dart b/lib/views/course_view/components/live_stream_section.dart index 7195934..92ec595 100644 --- a/lib/views/course_view/components/live_stream_section.dart +++ b/lib/views/course_view/components/live_stream_section.dart @@ -89,6 +89,7 @@ class LiveStreamSection extends StatelessWidget { roomName: stream.item1.roomName, roomNumber: stream.item1.roomCode, path: imagePath, + isDownloaded: false, courseId: course.id, onTap: () { Navigator.push( diff --git a/lib/views/course_view/components/small_stream_card.dart b/lib/views/course_view/components/small_stream_card.dart index e396b14..4109b67 100644 --- a/lib/views/course_view/components/small_stream_card.dart +++ b/lib/views/course_view/components/small_stream_card.dart @@ -132,7 +132,7 @@ class SmallStreamCard extends StatelessWidget { _buildCourseTitle(themeData.textTheme), _buildCourseSubtitle(themeData.textTheme), const SizedBox(height: 15), - _buildLocation(themeData), + if (!isDownloaded!) _buildLocation(themeData), ], ), ),