ui: improve error

This commit is contained in:
Simon Ding
2024-11-05 12:54:52 +08:00
parent f1c4e306f4
commit 05ae58030c
13 changed files with 23 additions and 14 deletions

View File

@@ -52,7 +52,7 @@ class WelcomePageState extends ConsumerState<WelcomePage> {
children: getMediaAll(value),
),
),
error: (err, trace) => PoError(msg: "网络错误", err: err),
error: (err, trace) => PoNetworkError(err: err),
loading: () => const MyProgressIndicator());
}(),
getMoreButtonAndActions(uri)