fix: perbaiki 5 warning clippy pre-existing (base untuk TUI overhaul)

unnested_or_patterns, collapsible_if, items_after_statements, dan
case_sensitive_file_extension_comparisons di auto.rs, engine.rs, dan
actions/mod.rs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
asepharyana
2026-07-14 23:41:53 +07:00
co-authored by Claude Sonnet 5
parent 7a9cb7bf34
commit 6b58977875
3 changed files with 12 additions and 8 deletions
+4 -4
View File
@@ -393,10 +393,10 @@ pub fn apply_action(state: &mut AppStateRest, action: Action) {
state.workflow_engine.agents.clear();
state.workflow_engine.findings.clear();
}
if message.to_lowercase().contains("complete") {
if state.misc.overlay == Overlay::Workflow {
state.misc.overlay = Overlay::None;
}
if message.to_lowercase().contains("complete")
&& state.misc.overlay == Overlay::Workflow
{
state.misc.overlay = Overlay::None;
}
state.push_toast(Toast {
kind: ToastKind::Info,