Don't duplicate current session print

This commit is contained in:
Thomas Avé 2025-02-16 21:37:03 +01:00
parent 8b967001f4
commit eeae39d050
1 changed files with 8 additions and 14 deletions

View File

@ -300,12 +300,6 @@ pub async fn status(settings: Settings) -> Result<(), CliError> {
const BOX_WIDTH: usize = 50;
const BAR_WIDTH: usize = 20;
// Print active session if exists
if status.active != "0" && status.active != "" {
println!("\n{}", "Current Session".bold());
println!("Active for: {}", status.active.yellow());
}
// Print weekly overview with visual bars
println!("\n{}", "Weekly Work Overview".bold());
println!("{}", "".repeat(BOX_WIDTH));