update notification tab data when clicking on navigation bars
This commit is contained in:
@@ -126,6 +126,8 @@ class TendersViewModel with ChangeNotifier {
|
||||
}
|
||||
|
||||
void init(BuildContext context) async {
|
||||
_isLoading = true;
|
||||
notifyListeners();
|
||||
clearAll();
|
||||
await getTenders(context: context);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user