Removed unused params

This commit is contained in:
Joe Bellus 2023-12-01 12:15:54 -05:00
parent 43336104a8
commit 791f7bf8b7
1 changed files with 1 additions and 6 deletions

View File

@ -161,12 +161,7 @@ fn format_us(v: u128) -> String {
format!("{}μs", v) format!("{}μs", v)
} }
fn stats( fn stats(ctx: &mut ViewContext, results: Res<Arc<RwLock<Vec<PingResult>>>>) {
ctx: &mut ViewContext,
results: Res<Arc<RwLock<Vec<PingResult>>>>,
args: Res<Args>,
theme: Res<Theme>,
) {
let results = results.read().unwrap(); let results = results.read().unwrap();
let width = ctx.width(); let width = ctx.width();
let max = results let max = results