π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
chore(SearchBar):hide-ui-element
Aswin Asok7a1110caddb3
diff --git a/web/packages/new/photos/components/SearchBar.tsx b/web/packages/new/photos/components/SearchBar.tsxindex ae15c2ffe5..b3ca0d8f55 100644--- a/web/packages/new/photos/components/SearchBar.tsx+++ b/web/packages/new/photos/components/SearchBar.tsx@@ -357,13 +357,14 @@ const createSelectStyles = (});const Control = ({ children, ...props }: ControlProps<SearchOption, false>) => {- const isMac =- typeof navigator !== "undefined" &&- navigator.userAgent.toUpperCase().includes("MAC");- const shortcutKey = isMac ? "β K" : "Ctrl + K";+ // The shortcut UI element will be shown once the search bar supports searching the settings as well.+ // const isMac =+ // typeof navigator !== "undefined" &&+ // navigator.userAgent.toUpperCase().includes("MAC");+ // const shortcutKey = isMac ? "β K" : "Ctrl + K";- const hasValue =- props.getValue().length > 0 || props.selectProps.inputValue;+ // const hasValue =+ // props.getValue().length > 0 || props.selectProps.inputValue;return (<SelectComponents.Control {...props}>@@ -387,7 +388,7 @@ const Control = ({ children, ...props }: ControlProps<SearchOption, false>) => {{iconForOption(props.getValue()[0])}</Box>{children}- {!hasValue && (+ {/* {!hasValue && (<Boxsx={{display: ["none", "none", "inline-flex"],@@ -406,7 +407,7 @@ const Control = ({ children, ...props }: ControlProps<SearchOption, false>) => {>{shortcutKey}</Box>- )}+ )} */}</Stack></SelectComponents.Control>);