fix: reorder attribute

This commit is contained in:
2026-05-23 00:34:28 +02:00
parent 7d0f9b5c33
commit 4dd4a2f35a

View File

@@ -348,7 +348,8 @@ class _MatchResultViewState extends State<MatchResultView> {
onReorderEnd: (int n) async { onReorderEnd: (int n) async {
await HapticFeedback.selectionClick(); await HapticFeedback.selectionClick();
}, },
onReorder: (int oldIndex, int newIndex) { onReorderItem:
(int oldIndex, int newIndex) {
setState(() { setState(() {
if (newIndex > oldIndex) { if (newIndex > oldIndex) {
newIndex -= 1; newIndex -= 1;