diff --git a/src/main.rs b/src/main.rs index 669147f..37d2f2d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -170,11 +170,11 @@ async fn main() -> Result<()> { read_keys(&keys_entry, &mut rl)? }; - info!("My active public key: {}", keys.public_key()); + info!("Your active public key: {}", keys.public_key()); if args.peek().is_some_and(|arg| arg.trim_start_matches('-') == "export") { let enc_pwd = read_password(&mut rl, "Please enter an encryption password for your secret key: ")?; println!("Your encrypted key: {}", EncryptedSecretKey::new(keys.secret_key(), enc_pwd, 9, KeySecurity::Unknown)?.to_bech32()?); - if rl.readline("Do you want to erase your stored secret keys (y/n)? ")? == "y" { + if rl.readline("Do you want to erase your stored secret key (y/n)? ")? == "y" { keys_entry.delete_credential()?; } // TODO optionally delete diff --git a/src/tasks.rs b/src/tasks.rs index 5b4968e..3436e67 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -358,8 +358,8 @@ impl TasksRelay { let mut vec = Vec::with_capacity(set.len() / 2); let mut iter = timestamps(set.values(), &ids).tuples(); while let Some(((start, _), (end, _))) = iter.next() { - // Filter out intervals <2 mins - if start.as_u64() + 120 < end.as_u64() { + // Filter out intervals <3 mins + if start.as_u64() + 200 < end.as_u64() { vec.push(format!( "{} - {} by {}", format_timestamp_local(start),