Skip to content

Commit

Permalink
prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Sep 12, 2024
1 parent 86d9abd commit 58ab808
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"tauri": patch:bug
---

Fix display implementation of `PermissionState::Unknown` not generating the lowercased `unknown` string.
Fix display implementation of `PermissionState::Unknown` not generating the `prompt` string.
2 changes: 1 addition & 1 deletion crates/tauri/src/plugin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ impl std::fmt::Display for PermissionState {
Self::Granted => write!(f, "granted"),
Self::Denied => write!(f, "denied"),
Self::PromptWithRationale => write!(f, "prompt-with-rationale"),
Self::Unknown => write!(f, "unknown"),
Self::Unknown => write!(f, "prompt"),
}
}
}
Expand Down

0 comments on commit 58ab808

Please sign in to comment.