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:
co-authored by
Claude Sonnet 5
parent
7a9cb7bf34
commit
6b58977875
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user