mirror of
https://github.com/simon-ding/polaris.git
synced 2026-04-22 03:37:30 +08:00
ui: improve error readablity
This commit is contained in:
@@ -33,7 +33,7 @@ class _IndexerState extends ConsumerState<IndexerSettings> {
|
||||
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