mod: update error widget

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-04-23 16:16:51 +08:00
parent e0fe16fd14
commit 65eecb8dcf
54 changed files with 106 additions and 115 deletions

View File

@@ -111,7 +111,7 @@ class _HorizontalMemberPageState extends State<HorizontalMemberPage> {
),
Error() => scrollErrorWidget(
errMsg: userState.errMsg,
callback: () {
onReload: () {
_controller.userState.value = LoadingState.loading();
_controller.getUserInfo();
},
@@ -228,7 +228,7 @@ class _HorizontalMemberPageState extends State<HorizontalMemberPage> {
),
Error() => scrollErrorWidget(
errMsg: loadingState.errMsg,
callback: _controller.onReload,
onReload: _controller.onReload,
),
LoadingState() => throw UnimplementedError(),
};