pub fn should_auto_sync(
auto_sync: bool,
logged_in: bool,
last_auto_sync: Option<&str>,
today: &str,
) -> boolExpand description
Whether the auto-sync should run now: opt-in flag, logged in, and not already synced today (the debounce). Pure for unit testing.