1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-29 08:16:28 +00:00
This commit is contained in:
Pierre HUBERT 2020-04-27 13:27:59 +02:00
parent 8f927e9f72
commit da38ce426f
2 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ class SettingsHelper {
allowComunicEmails: response["allow_comunic_mails"], allowComunicEmails: response["allow_comunic_mails"],
publicFriendsList: response["public_friends_list"], publicFriendsList: response["public_friends_list"],
virtualDirectory: response["virtual_directory"], virtualDirectory: response["virtual_directory"],
personnalWebsite: response["personnal_website"], personalWebsite: response["personnal_website"],
publicNote: response["publicNote"], publicNote: response["publicNote"],
); );
} }
@ -57,7 +57,7 @@ class SettingsHelper {
"allowPostsFromFriends": "allowPostsFromFriends":
settings.allowPostsFromFriends ? "true" : "false", settings.allowPostsFromFriends ? "true" : "false",
"publicFriendsList": settings.publicFriendsList ? "true" : "false", "publicFriendsList": settings.publicFriendsList ? "true" : "false",
"personnalWebsite": settings.personnalWebsite, "personnalWebsite": settings.personalWebsite,
"virtualDirectory": settings.virtualDirectory, "virtualDirectory": settings.virtualDirectory,
"publicNote": settings.publicNote, "publicNote": settings.publicNote,
}).exec()) }).exec())

View File

@ -15,7 +15,7 @@ class GeneralSettings {
final bool allowComunicEmails; final bool allowComunicEmails;
final bool publicFriendsList; final bool publicFriendsList;
final String virtualDirectory; final String virtualDirectory;
final String personnalWebsite; final String personalWebsite;
final String publicNote; final String publicNote;
GeneralSettings({ GeneralSettings({
@ -28,7 +28,7 @@ class GeneralSettings {
@required this.allowComunicEmails, @required this.allowComunicEmails,
@required this.publicFriendsList, @required this.publicFriendsList,
@required this.virtualDirectory, @required this.virtualDirectory,
@required this.personnalWebsite, @required this.personalWebsite,
@required this.publicNote, @required this.publicNote,
}) : assert(email != null), }) : assert(email != null),
assert(firstName != null), assert(firstName != null),
@ -39,6 +39,6 @@ class GeneralSettings {
assert(allowComunicEmails), assert(allowComunicEmails),
assert(publicFriendsList != null), assert(publicFriendsList != null),
assert(virtualDirectory != null), assert(virtualDirectory != null),
assert(personnalWebsite != null), assert(personalWebsite != null),
assert(publicNote != null); assert(publicNote != null);
} }