added fcm (device) token to login data
This commit is contained in:
@@ -130,10 +130,8 @@ class TendersViewModel with ChangeNotifier {
|
||||
}
|
||||
if (_tendersResponse?.meta?.pages != null) {
|
||||
_totalPages = _tendersResponse!.meta!.pages!;
|
||||
print('Total pages: $_totalPages');
|
||||
} else {
|
||||
_totalPages = 1;
|
||||
print('Total pages not available, fallback to 1');
|
||||
}
|
||||
notifyListeners();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user