Remove some dbg! statements

This commit is contained in:
Luke D. Jones
2022-11-06 22:28:00 +13:00
parent cd5a85a843
commit 37553a5fdd

View File

@@ -91,11 +91,9 @@ fn main() -> Result<()> {
let states = setup_page_state_and_notifs(layout.clone(), &config, native_options.clone(), &dbus).unwrap(); let states = setup_page_state_and_notifs(layout.clone(), &config, native_options.clone(), &dbus).unwrap();
loop { loop {
dbg!();
if !start_closed { if !start_closed {
start_app(states.clone(), native_options.clone())?; start_app(states.clone(), native_options.clone())?;
} }
dbg!();
let config = Config::load().unwrap(); let config = Config::load().unwrap();
if !config.run_in_background { if !config.run_in_background {
@@ -108,11 +106,9 @@ fn main() -> Result<()> {
// process writes to the IPC (so there is data to actually read) // process writes to the IPC (so there is data to actually read)
if get_ipc_file().unwrap().read(&mut buf).is_ok() && buf[0] == SHOW_GUI { if get_ipc_file().unwrap().read(&mut buf).is_ok() && buf[0] == SHOW_GUI {
start_closed = false; start_closed = false;
dbg!();
continue; continue;
} }
} }
dbg!();
} }
Ok(()) Ok(())
} }