Update: 2026-08-03 11:32:12
This commit is contained in:
@@ -8,8 +8,8 @@ class ServerMonitorPage extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final controller = Get.put(ServerMonitorController());
|
||||
final cs = Theme.of(context).colorScheme;
|
||||
final controller = Get.put(ServerMonitorController());
|
||||
|
||||
return Scaffold(
|
||||
backgroundColor: cs.surface,
|
||||
@@ -491,7 +491,7 @@ class _TopProcessesCard extends StatelessWidget {
|
||||
decoration: BoxDecoration(
|
||||
color: cs.warning.withValues(alpha: 0.1),
|
||||
borderRadius: BorderRadius.circular(8)),
|
||||
child: const Icon(Icons.analytics_rounded,
|
||||
child: Icon(Icons.analytics_rounded,
|
||||
color: cs.warning, size: 18),
|
||||
),
|
||||
const SizedBox(width: 12),
|
||||
@@ -555,7 +555,7 @@ class _TopProcessesCard extends StatelessWidget {
|
||||
),
|
||||
child: Text(
|
||||
process.usage,
|
||||
style: const TextStyle(
|
||||
style: TextStyle(
|
||||
color: cs.warning,
|
||||
fontSize: 12,
|
||||
fontWeight: FontWeight.bold),
|
||||
@@ -654,7 +654,7 @@ class _ErrorState extends StatelessWidget {
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Icon(Icons.cloud_off_rounded,
|
||||
Icon(Icons.cloud_off_rounded,
|
||||
size: 60, color: cs.danger),
|
||||
const SizedBox(height: 16),
|
||||
Text(controller.errorMessage.value,
|
||||
|
||||
Reference in New Issue
Block a user