mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-09 19:47:47 +08:00
feat: ui detail upgrade
This commit is contained in:
@@ -62,17 +62,17 @@ class ActivityDataSource extends DataTableSource {
|
||||
DataCell(() {
|
||||
if (activity.status == "uploading") {
|
||||
return const SizedBox(
|
||||
width: 20, height: 20, child: CircularProgressIndicator());
|
||||
width: 20, height: 20, child: Tooltip(message: "正在上传到指定存储",child: CircularProgressIndicator(),) );
|
||||
} else if (activity.status == "fail") {
|
||||
return const Icon(
|
||||
return const Tooltip(message: "下载失败",child: Icon(
|
||||
Icons.close,
|
||||
color: Colors.red,
|
||||
);
|
||||
));
|
||||
} else if (activity.status == "success") {
|
||||
return const Icon(
|
||||
return const Tooltip(message: "下载成功",child: Icon(
|
||||
Icons.check,
|
||||
color: Colors.green,
|
||||
);
|
||||
),) ;
|
||||
}
|
||||
|
||||
double p =
|
||||
|
||||
Reference in New Issue
Block a user