我的界面 修改昵称完成
This commit is contained in:
@@ -392,7 +392,12 @@ class _RunningStatusPageState extends State<RunningStatusPage> {
|
||||
// ====================== 图表视图 ======================
|
||||
Widget _buildChartContentView(DeviceStatusState state) {
|
||||
if (state is! DeviceStatusUpdated) {
|
||||
return const Center(child: CircularProgressIndicator());
|
||||
return const Center(
|
||||
child: CircularProgressIndicator(
|
||||
color: Color(0xFF1677FF), // 统一使用项目主题蓝色
|
||||
strokeWidth: 4, // 加粗加载圈,视觉更清晰
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
final status = state.status;
|
||||
@@ -623,7 +628,12 @@ class _RunningStatusPageState extends State<RunningStatusPage> {
|
||||
child: Text("数据加载失败", style: TextStyle(color: Colors.red, fontSize: 16)),
|
||||
);
|
||||
} else {
|
||||
return const Center(child: CircularProgressIndicator());
|
||||
return const Center(
|
||||
child: CircularProgressIndicator(
|
||||
color: Color(0xFF1677FF), // 统一使用项目主题蓝色
|
||||
strokeWidth: 4, // 加粗加载圈,视觉更清晰
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user