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:
HDDen
2026-05-19 19:17:13 +03:00
parent a50c0d0b2d
commit c4b3971bdd
+3 -2
View File
@@ -273,8 +273,9 @@ class _ChannelsScreenState extends State<ChannelsScreen>
),
buildDefaultDragHandles: false,
itemCount: filteredChannels.length,
onReorder: (oldIndex, newIndex) {
if (newIndex > oldIndex) newIndex -= 1;
onReorderItem: (oldIndex, newIndex) {
// onReorderItem already adjusts newIndex after the
// removed item, unlike the deprecated onReorder.
final reordered = List<Channel>.from(
filteredChannels,
);