From 2df17be673cac909af3762b2bb5acc95db017241 Mon Sep 17 00:00:00 2001 From: PacoX Date: Thu, 9 Jul 2026 08:43:55 +0200 Subject: [PATCH] remplace onReorder by onReorderItem --- lib/screens/channels_screen.dart | 2 +- lib/widgets/path_editor_sheet.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/screens/channels_screen.dart b/lib/screens/channels_screen.dart index 2f8b06a9..d9846db3 100644 --- a/lib/screens/channels_screen.dart +++ b/lib/screens/channels_screen.dart @@ -281,7 +281,7 @@ class _ChannelsScreenState extends State ), buildDefaultDragHandles: false, itemCount: filteredChannels.length, - onReorder: (oldIndex, newIndex) { + onReorderItem: (oldIndex, newIndex) { final reordered = List.from( filteredChannels, ); diff --git a/lib/widgets/path_editor_sheet.dart b/lib/widgets/path_editor_sheet.dart index 93594acd..f20aad1c 100644 --- a/lib/widgets/path_editor_sheet.dart +++ b/lib/widgets/path_editor_sheet.dart @@ -323,7 +323,7 @@ class _PathEditorSheetState extends State { physics: const NeverScrollableScrollPhysics(), buildDefaultDragHandles: false, itemCount: _hops.length, - onReorder: _reorderHop, + onReorderItem: _reorderHop, itemBuilder: _hopTile, ), const Divider(),