change app package name
This commit is contained in:
@@ -25,6 +25,10 @@ class TreezorTokenInterceptor extends Interceptor {
|
||||
_handling = true;
|
||||
_onUnauthorized();
|
||||
Future.delayed(const Duration(seconds: 2), () => _handling = false);
|
||||
} else if (err.response?.statusCode == 500) {
|
||||
_handling = true;
|
||||
_onTokenExpired();
|
||||
Future.delayed(const Duration(seconds: 2), () => _handling = false);
|
||||
}
|
||||
}
|
||||
handler.next(err);
|
||||
|
||||
Reference in New Issue
Block a user