mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-10 20:08:56 +03:30
Fix labels included in add cycle
This commit is contained in:
@@ -23,7 +23,7 @@ class CyclesProvider extends ChangeNotifier {
|
||||
addLabelVal() {
|
||||
curLabelVal += 1;
|
||||
TextEditingController lbl = new TextEditingController();
|
||||
lbl.text = initialLabelValue;
|
||||
lbl.text = "";
|
||||
labelValues.add(lbl);
|
||||
notifyListeners();
|
||||
}
|
||||
@@ -55,8 +55,10 @@ class CyclesProvider extends ChangeNotifier {
|
||||
date: '',
|
||||
);
|
||||
int pageNumber = 1;
|
||||
|
||||
void resetPageNumber() => pageNumber = 1;
|
||||
bool isloading = false;
|
||||
|
||||
void resetLoading() {
|
||||
isloading = false;
|
||||
notifyListeners();
|
||||
@@ -68,6 +70,7 @@ class CyclesProvider extends ChangeNotifier {
|
||||
}
|
||||
|
||||
bool isloadingButton = false;
|
||||
|
||||
void resetLoadingButton() {
|
||||
isloadingButton = false;
|
||||
notifyListeners();
|
||||
|
||||
Reference in New Issue
Block a user