Skip to content

Commit

Permalink
take the location finder off for downloaded videos
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainaamr committed Feb 2, 2024
1 parent 66c7888 commit e471a7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/views/course_view/components/live_stream_section.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion lib/views/course_view/components/small_stream_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class SmallStreamCard extends StatelessWidget {
_buildCourseTitle(themeData.textTheme),
_buildCourseSubtitle(themeData.textTheme),
const SizedBox(height: 15),
_buildLocation(themeData),
if (!isDownloaded!) _buildLocation(themeData),
],
),
),
Expand Down

0 comments on commit e471a7f

Please sign in to comment.