From 7a1f677c756c7ce68c211d2d8836dfa4ff4f8d3c Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Sat, 7 Mar 2026 22:10:45 +0100 Subject: [PATCH] fix: content strip lint warnings --- lib/widgets/video_controls/widgets/content_strip.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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,