加载窗样式

This commit is contained in:
czz
2025-08-20 17:50:48 +08:00
parent d28842ad88
commit 2cbe9c2713
30 changed files with 103 additions and 161 deletions

View File

@@ -135,13 +135,7 @@ class _EPageState extends State<EPage> with AutomaticKeepAliveClientMixin {
Widget _buildLoggedInContent() {
return Obx(() {
if (finalUri.isEmpty) {
return Center(
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
));
return Center(child: CircularProgressIndicator());
}
// 如果设备列表为空
@@ -179,13 +173,7 @@ class _EPageState extends State<EPage> with AutomaticKeepAliveClientMixin {
valueListenable: isPageLoading,
builder: (context, isLoading, child) {
return isLoading
? Center(
child: CircularProgressIndicator(
strokeWidth: 1,
valueColor: AlwaysStoppedAnimation<Color>(
themeController.currentColor.sc1,
),
))
? Center(child: CircularProgressIndicator())
: SizedBox.shrink();
},
),