finally fixed kreten error shit sdfadfsdfhsdfgh
This commit is contained in:
parent
fd80aec51f
commit
b19da9cb66
@ -79,12 +79,12 @@ class StatusProvider extends ChangeNotifier {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (res.body == "invalid_grant" ||
|
if (res.body == 'invalid_grant' ||
|
||||||
res.body.replaceAll(' ', '') == '' ||
|
res.body.replaceAll(' ', '') == '' ||
|
||||||
(res.statusCode == 400 &&
|
res.statusCode == 400) {
|
||||||
res.request?.url.path == 'ellenorzo/V3/Sajat/TanuloAdatlap')) {
|
|
||||||
if (!_stack.contains(Status.apiError) &&
|
if (!_stack.contains(Status.apiError) &&
|
||||||
!_stack.contains(Status.network)) {
|
!_stack.contains(Status.network)) {
|
||||||
|
if (res.statusCode == 401) return;
|
||||||
_stack.insert(0, Status.apiError);
|
_stack.insert(0, Status.apiError);
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user