mirror of
https://github.com/bitwarden/browser
synced 2025-12-21 02:33:46 +00:00
[PM-23159] Update arboard and enable exclude from history on Linux (#15393)
This commit is contained in:
@@ -30,10 +30,14 @@ fn clipboard_set(set: Set, password: bool) -> Set {
|
||||
|
||||
// Wait for clipboard to be available on linux
|
||||
#[cfg(target_os = "linux")]
|
||||
fn clipboard_set(set: Set, _password: bool) -> Set {
|
||||
fn clipboard_set(set: Set, password: bool) -> Set {
|
||||
use arboard::SetExtLinux;
|
||||
|
||||
set.wait()
|
||||
if password {
|
||||
set.exclude_from_history().wait()
|
||||
} else {
|
||||
set.wait()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
|
||||
Reference in New Issue
Block a user