mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-06 11:04:53 +08:00
mod: update error widget
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -841,11 +841,11 @@ class _DynamicDetailPageState extends State<DynamicDetailPage>
|
||||
),
|
||||
)
|
||||
: HttpError(
|
||||
callback: _dynamicDetailController.onReload,
|
||||
onReload: _dynamicDetailController.onReload,
|
||||
),
|
||||
Error() => HttpError(
|
||||
errMsg: loadingState.errMsg,
|
||||
callback: _dynamicDetailController.onReload,
|
||||
onReload: _dynamicDetailController.onReload,
|
||||
),
|
||||
LoadingState() => throw UnimplementedError(),
|
||||
};
|
||||
|
||||
@@ -206,11 +206,11 @@ class _DynamicsTabPageState
|
||||
),
|
||||
)
|
||||
: HttpError(
|
||||
callback: controller.onReload,
|
||||
onReload: controller.onReload,
|
||||
),
|
||||
Error() => HttpError(
|
||||
errMsg: loadingState.errMsg,
|
||||
callback: controller.onReload,
|
||||
onReload: controller.onReload,
|
||||
),
|
||||
LoadingState() => throw UnimplementedError(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user