1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Desktop, mobile: Add support for Joplin Cloud email to note functionality (#8460)

This commit is contained in:
pedr
2023-07-18 16:15:45 -03:00
committed by GitHub
parent 85079ad213
commit 06b2ba9d75
16 changed files with 157 additions and 19 deletions

View File

@ -1714,6 +1714,10 @@ class Setting extends BaseModel {
label: () => _('Voice typing language files (URL)'),
section: 'note',
},
'emailToNote.inboxEmail': { value: '', type: SettingItemType.String, public: false },
'emailToNote.inboxJopId': { value: '', type: SettingItemType.String, public: false },
};
this.metadata_ = { ...this.buildInMetadata_ };
@ -2528,6 +2532,7 @@ class Setting extends BaseModel {
if (name === 'encryption') return _('Encryption');
if (name === 'server') return _('Web Clipper');
if (name === 'keymap') return _('Keyboard Shortcuts');
if (name === 'joplinCloud') return _('Joplin Cloud');
if (this.customSections_[name] && this.customSections_[name].label) return this.customSections_[name].label;
@ -2556,6 +2561,7 @@ class Setting extends BaseModel {
if (name === 'encryption') return 'icon-encryption';
if (name === 'server') return 'far fa-hand-scissors';
if (name === 'keymap') return 'fa fa-keyboard';
if (name === 'joplinCloud') return 'fa fa-cloud';
if (this.customSections_[name] && this.customSections_[name].iconName) return this.customSections_[name].iconName;