* 创建并插入开关图标到页面
()
| 453 | * 创建并插入开关图标到页面 |
| 454 | */ |
| 455 | async function createSwitchIcon() { |
| 456 | const switchButton = createSwitchButton(); |
| 457 | |
| 458 | await findChatButton(); |
| 459 | |
| 460 | insertSwitchButton(switchButton); |
| 461 | } |
| 462 | |
| 463 | /** |
| 464 | * 注入悬浮面板样式,支持亮色/暗色主题 |
no test coverage detected