fix: SystemMonitor.refresh() 移除不存在的 _refresh_stats 调用

This commit is contained in:
qinglong
2026-06-13 20:54:35 +08:00
parent eba035db64
commit 279ddfbdc9
-1
View File
@@ -427,7 +427,6 @@ class SystemMonitor(Static):
def refresh(self, **kwargs):
"""由外部 asyncio task 驱动刷新(比 set_interval 更抗 Android 挂起)"""
self._refresh_stats()
try:
if not self._collector:
self.update("📊 系统监控: 数据源未连接")