reverse labels list in add cycle

This commit is contained in:
hanie.khodkari
2024-08-11 18:09:05 +03:30
parent a758149fbf
commit c0d78c1b6e
+1 -1
View File
@@ -114,7 +114,7 @@ class CyclesProvider extends ChangeNotifier {
// print(hospital['name']);
}
if (result.isEmpty) result.add("");
labelVals = result;
labelVals = result.reversed.toList();
initialLabelValue = labelVals[0];
TextEditingController newLbl = new TextEditingController();
newLbl.text = "";