This commit is contained in:
thatscringebro
2026-03-31 14:52:09 -04:00
parent d0c1816fe5
commit c009f84038

View File

@@ -136,10 +136,8 @@ where
if let CurrentWidget::TrxList = app.current_widget
&& app.selected_tab == 1
{
let char_u = key.code.to_string().parse::<i64>();
match char_u {
Ok(c) => app.select_tr_type_chart(c),
_ => {}
if let Ok(c) = key.code.to_string().parse::<i64>() {
app.select_tr_type_chart(c);
}
}
}