Tighten TimeSpinner spacing and fix build warnings

This commit is contained in:
2026-02-07 11:12:13 +02:00
parent 358f2eab6e
commit b1ffaca5be
3 changed files with 5 additions and 13 deletions

View File

@@ -462,14 +462,6 @@ pub enum IdleCheckResult {
NaturalBreakDetected(u64), // duration in seconds
}
fn parse_hour(time_str: &str) -> u32 {
time_str
.split(':')
.next()
.and_then(|h| h.parse().ok())
.unwrap_or(9)
}
/// Returns the number of seconds since last user input (mouse/keyboard).
#[cfg(windows)]
pub fn get_idle_seconds() -> u64 {