diff --git a/lib/widgets/video_controls/widgets/content_strip.dart b/lib/widgets/video_controls/widgets/content_strip.dart index b20d0dca..69df3458 100644 --- a/lib/widgets/video_controls/widgets/content_strip.dart +++ b/lib/widgets/video_controls/widgets/content_strip.dart @@ -64,8 +64,8 @@ class ContentStripState extends State { bool _hasAutoScrolledQueue = false; // Focus nodes for focus navigation mode - List _chapterFocusNodes = []; - List _queueFocusNodes = []; + final List _chapterFocusNodes = []; + final List _queueFocusNodes = []; bool get _hasChapters => widget.chapters.isNotEmpty; bool get _hasQueue => widget.showQueueTab && widget.onQueueItemSelected != null; @@ -363,7 +363,7 @@ class ContentStripState extends State { ? DownloadStorageService.instance.getArtworkPathSync(widget.serverId!, chapter.thumb!) : null; - final onTap = () => widget.player.seek(chapter.startTime); + void onTap() => widget.player.seek(chapter.startTime); final item = _buildStripItem( context: context, @@ -451,7 +451,7 @@ class ContentStripState extends State { } catch (_) {} } - final onTap = () => widget.onQueueItemSelected?.call(item); + void onTap() => widget.onQueueItemSelected?.call(item); final stripItem = _buildStripItem( context: context,