Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: cargo fmt screenpipe-accessibility

Louis Beaumont3bb567e9fcdc
diff --git a/screenpipe-accessibility/src/platform/macos.rs b/screenpipe-accessibility/src/platform/macos.rs
index cfb61a23f..ae7842cdd 100644
--- a/screenpipe-accessibility/src/platform/macos.rs
+++ b/screenpipe-accessibility/src/platform/macos.rs
@@ -719,11 +719,12 @@ fn get_element_at_position(x: f64, y: f64, config: &UiCaptureConfig) -> Option<E
});
}
- let value = if role.contains("TextField") || role.contains("TextArea") || role.contains("ComboBox") {
- get_string_attr(&elem, ax::attr::value())
- } else {
- None
- };
+ let value =
+ if role.contains("TextField") || role.contains("TextArea") || role.contains("ComboBox") {
+ get_string_attr(&elem, ax::attr::value())
+ } else {
+ None
+ };
let description = get_string_attr(&elem, ax::attr::desc());
Some(ElementContext {