mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-09 03:27:39 +08:00
ui: improve error readablity
This commit is contained in:
@@ -48,7 +48,7 @@ class _NotifierState extends ConsumerState<NotifierSettings> {
|
||||
child: const Icon(Icons.add));
|
||||
}),
|
||||
),
|
||||
error: (err, trace) => Text("$err"),
|
||||
error: (err, trace) => PoError(msg: "网络错误", err: err),
|
||||
loading: () => const MyProgressIndicator());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user