mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
mod: error toast
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -107,8 +107,8 @@ class ApiInterceptor extends Interceptor {
|
|||||||
} else {
|
} else {
|
||||||
SmartDialog.showToast(
|
SmartDialog.showToast(
|
||||||
await dioError(err) + url,
|
await dioError(err) + url,
|
||||||
displayType: SmartToastType.onlyRefresh,
|
// displayType: SmartToastType.onlyRefresh,
|
||||||
displayTime: const Duration(milliseconds: 1200),
|
// displayTime: const Duration(milliseconds: 1200),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
super.onError(err, handler);
|
super.onError(err, handler);
|
||||||
|
|||||||
Reference in New Issue
Block a user