diff --git a/lib/src/chewie_player.dart b/lib/src/chewie_player.dart index da1d48c3a..100332030 100644 --- a/lib/src/chewie_player.dart +++ b/lib/src/chewie_player.dart @@ -323,7 +323,7 @@ class ChewieController extends ChangeNotifier { List? deviceOrientationsOnEnterFullScreen, List? systemOverlaysAfterFullScreen, List? deviceOrientationsAfterFullScreen, - int? bufferingProgressIndicatorDisplayDelayMS, + int? progressIndicatorDelayMS, Widget Function( BuildContext, Animation, @@ -376,8 +376,8 @@ class ChewieController extends ChangeNotifier { deviceOrientationsAfterFullScreen: deviceOrientationsAfterFullScreen ?? this.deviceOrientationsAfterFullScreen, routePageBuilder: routePageBuilder ?? this.routePageBuilder, - progressIndicatorDelayMS: bufferingProgressIndicatorDisplayDelayMS ?? - this.progressIndicatorDelayMS); + progressIndicatorDelayMS: progressIndicatorDelayMS ?? + this.progressIndicatorDelayMS,); } /// If false, the options button in MaterialUI and MaterialDesktopUI