You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
10 lines
347 B
TypeScript
10 lines
347 B
TypeScript
import { _ } from '../../../locale';
|
|
import { getEncryptionEnabled } from '../../../services/synchronizer/syncInfoUtils';
|
|
|
|
const useEncryptionWarningMessage = () => {
|
|
if (!getEncryptionEnabled()) return null;
|
|
return _('Note: When a note is shared, it will no longer be encrypted on the server.');
|
|
};
|
|
|
|
export default useEncryptionWarningMessage;
|