fix: Windows兼容 + Textual 8.x + MD3 SVG图标替代emoji

1. Windows: reuse_port 仅非win32平台启用
2. Textual 8.2.7: refresh() 加 **kwargs 兼容 repaint 参数
3. WebUI: 设置页/插件页 emoji → SVG (fill:currentColor 日夜间适配)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
qinglong
2026-06-13 20:42:22 +08:00
parent 9a9a2975de
commit cc50ecb813
8 changed files with 44 additions and 18 deletions
+2 -2
View File
@@ -425,7 +425,7 @@ class SystemMonitor(Static):
def set_collector(self, c):
self._collector = c
def refresh(self):
def refresh(self, **kwargs):
"""由外部 asyncio task 驱动刷新(比 set_interval 更抗 Android 挂起)"""
self._refresh_stats()
try:
@@ -479,7 +479,7 @@ class PluginStatusPanel(Static):
def set_plugin_service(self, svc):
self._plugin_service = svc
def refresh(self):
def refresh(self, **kwargs):
"""由外部 asyncio task 驱动刷新"""
self._refresh()