mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 网络错误提示消失速度加快
This commit is contained in:
@@ -48,6 +48,7 @@ class ApiInterceptor extends Interceptor {
|
|||||||
SmartDialog.showToast(
|
SmartDialog.showToast(
|
||||||
await dioError(err),
|
await dioError(err),
|
||||||
displayType: SmartToastType.onlyRefresh,
|
displayType: SmartToastType.onlyRefresh,
|
||||||
|
displayTime: const Duration(seconds: 1),
|
||||||
);
|
);
|
||||||
super.onError(err, handler);
|
super.onError(err, handler);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user