π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
chore(SearchBar):uncomment-the-ctrl-k
Aswin Asok50b86b116e81
diff --git a/web/packages/new/photos/components/SearchBar.tsx b/web/packages/new/photos/components/SearchBar.tsxindex 5796fa1e92..66b433fadd 100644--- a/web/packages/new/photos/components/SearchBar.tsx+++ b/web/packages/new/photos/components/SearchBar.tsx@@ -373,13 +373,13 @@ const createSelectStyles = (const Control = ({ children, ...props }: ControlProps<SearchOption, false>) => {// 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 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}>@@ -403,7 +403,7 @@ const Control = ({ children, ...props }: ControlProps<SearchOption, false>) => {{iconForOption(props.getValue()[0])}</Box>{children}- {/* {!hasValue && (+ {!hasValue && (<Boxsx={{display: ["none", "none", "inline-flex"],@@ -422,7 +422,7 @@ const Control = ({ children, ...props }: ControlProps<SearchOption, false>) => {>{shortcutKey}</Box>- )} */}+ )}</Stack></SelectComponents.Control>);