autofocus passphrase field in unlock view
This commit is contained in:
@ -61,7 +61,8 @@ async fn handle(mut stream: TcpStream, app_handle: AppHandle) -> Result<(), Requ
|
||||
|
||||
app_handle.emit_all("credentials-request", &req)?;
|
||||
let window = app_handle.get_window("main").ok_or(RequestError::NoMainWindow)?;
|
||||
window.show()?;
|
||||
window.unminimize()?;
|
||||
// window.show()?;
|
||||
window.set_focus()?;
|
||||
|
||||
let mut buf = [0; 8192]; // it's what tokio's BufReader uses
|
||||
|
Reference in New Issue
Block a user