mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-06-14 22:55:12 +10:00
Squashed commit of the following:
commit 83ffe44025
Author: HDDen <62592944+HDDen@users.noreply.github.com>
Date: Tue May 19 19:16:48 2026 +0300
fix Flutter SDK update
This commit is contained in:
@@ -273,8 +273,9 @@ class _ChannelsScreenState extends State<ChannelsScreen>
|
|||||||
),
|
),
|
||||||
buildDefaultDragHandles: false,
|
buildDefaultDragHandles: false,
|
||||||
itemCount: filteredChannels.length,
|
itemCount: filteredChannels.length,
|
||||||
onReorder: (oldIndex, newIndex) {
|
onReorderItem: (oldIndex, newIndex) {
|
||||||
if (newIndex > oldIndex) newIndex -= 1;
|
// onReorderItem already adjusts newIndex after the
|
||||||
|
// removed item, unlike the deprecated onReorder.
|
||||||
final reordered = List<Channel>.from(
|
final reordered = List<Channel>.from(
|
||||||
filteredChannels,
|
filteredChannels,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user