1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-30 23:44:55 +02:00

All: Add support for public-private key pairs and improved master password support (#5438)

Also improved SCSS support, which was needed for the master password dialog.
This commit is contained in:
Laurent
2021-10-03 16:00:49 +01:00
committed by GitHub
parent e5e1382255
commit c758377188
72 changed files with 4495 additions and 5296 deletions

View File

@ -0,0 +1,20 @@
import { CommandRuntime, CommandDeclaration, CommandContext } from '../services/CommandService';
import { _ } from '../locale';
export const declaration: CommandDeclaration = {
name: 'openMasterPasswordDialog',
label: () => _('Manage master password...'),
iconName: 'fas fa-key',
};
export const runtime = (): CommandRuntime => {
return {
execute: async (context: CommandContext, isOpen: boolean = true) => {
context.dispatch({
type: 'DIALOG_OPEN',
name: 'masterPassword',
isOpen: isOpen,
});
},
};
};