mirror of
https://github.com/bitwarden/browser.git
synced 2025-01-09 19:28:06 +01:00
Fix formatting
This commit is contained in:
parent
d934952f9e
commit
9904540898
@ -17,10 +17,7 @@ use windows::{
|
||||
},
|
||||
Cryptography::CryptographicBuffer,
|
||||
},
|
||||
Win32::{
|
||||
Foundation::HWND,
|
||||
System::WinRT::IUserConsentVerifierInterop,
|
||||
},
|
||||
Win32::{Foundation::HWND, System::WinRT::IUserConsentVerifierInterop},
|
||||
};
|
||||
|
||||
use crate::{
|
||||
@ -28,7 +25,10 @@ use crate::{
|
||||
crypto::CipherString,
|
||||
};
|
||||
|
||||
use super::{decrypt, encrypt, windows_focus::{focus_security_prompt, set_focus}};
|
||||
use super::{
|
||||
decrypt, encrypt,
|
||||
windows_focus::{focus_security_prompt, set_focus},
|
||||
};
|
||||
|
||||
/// The Windows OS implementation of the biometric trait.
|
||||
pub struct Biometric {}
|
||||
|
@ -1,4 +1,13 @@
|
||||
use windows::{core::s, Win32::{Foundation::HWND, UI::{Input::KeyboardAndMouse::SetFocus, WindowsAndMessaging::{FindWindowA, SetForegroundWindow}}}};
|
||||
use windows::{
|
||||
core::s,
|
||||
Win32::{
|
||||
Foundation::HWND,
|
||||
UI::{
|
||||
Input::KeyboardAndMouse::SetFocus,
|
||||
WindowsAndMessaging::{FindWindowA, SetForegroundWindow},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
/// Searches for a window that looks like a security prompt and set it as focused.
|
||||
/// Only works when the process has permission to foreground, either by being in foreground
|
||||
|
Loading…
Reference in New Issue
Block a user