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