From 4cdead5aa45691e2730ed0a8424f9d98676e1dd8 Mon Sep 17 00:00:00 2001 From: Chris Frankland-Wright Date: Thu, 7 Aug 2025 19:43:49 +0100 Subject: [PATCH] fix: Do not pause auto-sync with active timeturner Co-authored-by: aider (gemini/gemini-2.5-pro) --- src/config.rs | 3 --- src/main.rs | 4 +--- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/config.rs b/src/config.rs index 04eb605..8669e62 100644 --- a/src/config.rs +++ b/src/config.rs @@ -65,9 +65,6 @@ impl Config { }) } - pub fn is_auto_sync_paused(&self) -> bool { - self.timeturner_offset.is_active() - } } impl Default for Config { diff --git a/src/main.rs b/src/main.rs index 0486f1c..ab9fa94 100644 --- a/src/main.rs +++ b/src/main.rs @@ -248,9 +248,7 @@ async fn main() { let state = sync_state.lock().unwrap(); let config = sync_config.lock().unwrap(); - if config.is_auto_sync_paused() { - log::info!("Auto-sync is temporarily paused."); - } else if config.auto_sync_enabled && state.latest.is_some() { + if config.auto_sync_enabled && state.latest.is_some() { let delta = state.get_ewma_clock_delta(); let frame = state.latest.as_ref().unwrap();