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

@@ -79,7 +79,7 @@ class ProwlarrSettingState extends ConsumerState<ProwlarrSettingPage> {
],
),
),
error: (err, trace) => PoError(msg: "网络错误", err: err),
error: (err, trace) => PoNetworkError(err: err),
loading: () => const MyProgressIndicator());
}
}