mirror of
https://github.com/simon-ding/polaris.git
synced 2026-05-26 20:47:57 +08:00
ui: improve error readablity
This commit is contained in:
@@ -94,7 +94,7 @@ class _AuthState extends ConsumerState<AuthSettings> {
|
||||
],
|
||||
));
|
||||
},
|
||||
error: (err, trace) => Text("$err"),
|
||||
error: (err, trace) => PoError(msg: "网络错误", err: err),
|
||||
loading: () => const MyProgressIndicator());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user