fix(ci): use compatible reorder callback
This commit is contained in:
@@ -43,7 +43,8 @@ class PantallaFavoritos extends StatelessWidget {
|
||||
|
||||
return ReorderableListView.builder(
|
||||
padding: const EdgeInsets.all(12),
|
||||
onReorderItem: (oldIndex, newIndex) async {
|
||||
onReorder: (oldIndex, newIndex) async {
|
||||
if (newIndex > oldIndex) newIndex--;
|
||||
final emisora = favoritos[oldIndex];
|
||||
await estado.favoritos.reordenar(emisora.uuid, newIndex);
|
||||
await estado.cargarFavoritos();
|
||||
|
||||
Reference in New Issue
Block a user