chore: focus replace & favorite path dialog buttons

This commit is contained in:
Ashley Wulber 2025-10-17 15:42:04 -04:00 committed by Ashley Wulber
parent ce207a54b3
commit e6da0a8ae5
2 changed files with 44 additions and 23 deletions

View file

@ -1,5 +1,5 @@
use crate::{
app::{ArchiveType, DialogPage, Message},
app::{ArchiveType, DialogPage, Message, REPLACE_BUTTON_ID},
config::IconSizes,
fl,
spawn_detached::spawn_detached,
@ -61,7 +61,7 @@ async fn handle_replace(
apply_to_all: false,
tx,
},
None, // TODO which widget to focus?
Some(REPLACE_BUTTON_ID.clone()),
))
.await;
rx.recv().await.unwrap_or(ReplaceResult::Cancel)