Skip to content

Commit

Permalink
Changed controller.close
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyZ54 committed Oct 6, 2023
1 parent 0c23445 commit 011ad7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/widgets/atomic/video_feed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ class VideoFeedState extends State<VideoFeed> {
),
);
} else {
controller!.close();
controller?.close();
controller = null;
}
isOpened = !isOpened;
Expand Down

0 comments on commit 011ad7e

Please sign in to comment.