1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 16:25:17 +00:00

Can update email settings

This commit is contained in:
2020-04-27 13:37:43 +02:00
parent 6ba89b6bd1
commit 991d7ec1ab
2 changed files with 12 additions and 2 deletions

View File

@ -98,6 +98,16 @@ class __GeneralAccountSettingsBodyState
},
checkInput: (s) => s.length >= 3,
),
// Emails settings
SettingsTile.switchTile(
title: tr("Allow comunic to send emails"),
onToggle: (s) {
_settings.allowComunicEmails = s;
_updateSettings();
},
switchValue: _settings.allowComunicEmails,
),
];
}