mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-14 18:27:44 +02:00
Mobile: Remove empty sections from config screen
This commit is contained in:
parent
224a4d786b
commit
52ace55db0
@ -269,6 +269,8 @@ class ConfigScreenComponent extends BaseScreenComponent {
|
||||
settingComps.push(this.renderButton('e2ee_config_button', _('Encryption Config'), this.e2eeConfig_));
|
||||
}
|
||||
|
||||
if (!settingComps.length) return null;
|
||||
|
||||
return (
|
||||
<View key={key}>
|
||||
{this.renderHeader(section.name, Setting.sectionNameToLabel(section.name))}
|
||||
|
Loading…
Reference in New Issue
Block a user