mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-27 05:45:51 +08:00
feat: video download
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -246,6 +246,9 @@ class AccountManager extends Interceptor {
|
||||
|
||||
@override
|
||||
void onError(DioException err, ErrorInterceptorHandler handler) {
|
||||
if (err.requestOptions.responseType == ResponseType.stream) {
|
||||
return handler.next(err);
|
||||
}
|
||||
if (err.requestOptions.method != 'POST') {
|
||||
toast(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user