Skip to content

Commit

Permalink
video and poll state bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainaamr committed Feb 2, 2024
1 parent be948de commit 7f437ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/views/video_view/video_player.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ class VideoPlayerPageState extends ConsumerState<VideoPlayerPage> {
.read(courseViewModelProvider)
.course;
if (course != null) {
if ((course.chatEnabled || course.vodChatEnabled) &&
widget.stream.chatEnabled) {
if ((course.chatEnabled && widget.stream.chatEnabled) ||
(course.vodChatEnabled && widget.stream.chatEnabled)) {
setState(() {
_isChatActive = true;
_isPollActive = true;
Expand Down

0 comments on commit 7f437ac

Please sign in to comment.