2.10.2 fixes reorderlist deprecation

This commit is contained in:
stopflock committed 2026-06-14 19:02:54 -05:00
1 parent 036ac8c5e6
commit 41479e7ee4
9 files changed
+70 -15

No files matched your search

@@ -38,7 +38,7 @@ class NodeProfilesSection extends StatelessWidget {
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
itemCount: appState.profiles.length,
onReorder: (oldIndex, newIndex) {
onReorderItem: (oldIndex, newIndex) {
appState.reorderProfiles(oldIndex, newIndex);
},
itemBuilder: (context, index) {
@@ -58,7 +58,7 @@ class OperatorProfilesSection extends StatelessWidget {
shrinkWrap: true,
physics: const NeverScrollableScrollPhysics(),
itemCount: appState.operatorProfiles.length,
onReorder: (oldIndex, newIndex) {
onReorderItem: (oldIndex, newIndex) {
appState.reorderOperatorProfiles(oldIndex, newIndex);
},
itemBuilder: (context, index) {