remplace onReorder by onReorderItem

This commit is contained in:
PacoX
2026-07-09 08:43:55 +02:00
parent 3541b1bbac
commit 2df17be673
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -281,7 +281,7 @@ class _ChannelsScreenState extends State<ChannelsScreen>
),
buildDefaultDragHandles: false,
itemCount: filteredChannels.length,
onReorder: (oldIndex, newIndex) {
onReorderItem: (oldIndex, newIndex) {
final reordered = List<Channel>.from(
filteredChannels,
);
+1 -1
View File
@@ -323,7 +323,7 @@ class _PathEditorSheetState extends State<PathEditorSheet> {
physics: const NeverScrollableScrollPhysics(),
buildDefaultDragHandles: false,
itemCount: _hops.length,
onReorder: _reorderHop,
onReorderItem: _reorderHop,
itemBuilder: _hopTile,
),
const Divider(),