diff --git a/packages/desktop-client/src/components/Titlebar.tsx b/packages/desktop-client/src/components/Titlebar.tsx index 77a51757b1c..6c305f23787 100644 --- a/packages/desktop-client/src/components/Titlebar.tsx +++ b/packages/desktop-client/src/components/Titlebar.tsx @@ -32,6 +32,7 @@ import Link from './common/Link'; import Paragraph from './common/Paragraph'; import Text from './common/Text'; import View from './common/View'; +import { KeyHandlers } from './KeyHandlers'; import LoggedInUser from './LoggedInUser'; import { useServerURL } from './ServerContext'; import { useSidebar } from './sidebar'; @@ -173,30 +174,40 @@ export function SyncButton({ style, isMobile = false }: SyncButtonProps) { : {}; return ( - + <> + { + sync(); + }, + }} + /> + + + ); } diff --git a/upcoming-release-notes/1770.md b/upcoming-release-notes/1770.md new file mode 100644 index 00000000000..a73c4ca0ad8 --- /dev/null +++ b/upcoming-release-notes/1770.md @@ -0,0 +1,6 @@ +--- +category: Enhancements +authors: [Compositr, shaankhosla] +--- + +Sync on Ctrl+S \ No newline at end of file