Fix arm guard

master
Edward Shen 2021-10-31 01:01:05 -07:00
parent b833f97c55
commit 05d736e88e
Signed by: edward
GPG Key ID: 19182661E818369F
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ fn main() {
let pw = window().prompt_with_message("A password is required to decrypt this paste:");
match pw {
Ok(Some(password)) if password.is_empty() => {
Ok(Some(password)) if !password.is_empty() => {
break Some(SecretVec::new(password.into_bytes()));
}
Err(_) => {