bug fix
This commit is contained in:
@@ -288,6 +288,12 @@
|
||||
showAlarmOverlay(msg.data); // reuse alarm overlay UI
|
||||
switchPanel('countdown');
|
||||
}
|
||||
} else if (msg.type === 'timezone_changed') {
|
||||
// 控制端改了账户时区 → 立即重拉状态(state.timezone 更新后时钟/闹钟兜底随之生效)
|
||||
fetchState();
|
||||
} else if (msg.type === 'db_changed') {
|
||||
// 超大事件(NOTIFY 放不下)→ 从数据库重拉完整状态
|
||||
fetchState();
|
||||
} else if (msg.type === 'display_mode_changed' || msg.type === 'force_refresh') {
|
||||
location.reload();
|
||||
} else if (msg.type === 'theme_changed') {
|
||||
|
||||
Reference in New Issue
Block a user