ui: improve error readablity

This commit is contained in:
Simon Ding
2024-11-05 12:43:17 +08:00
parent 949b6e5188
commit f1c4e306f4
13 changed files with 44 additions and 26 deletions

View File

@@ -94,7 +94,7 @@ class _AuthState extends ConsumerState<AuthSettings> {
],
));
},
error: (err, trace) => Text("$err"),
error: (err, trace) => PoError(msg: "网络错误", err: err),
loading: () => const MyProgressIndicator());
}
}