1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-25 22:39:22 +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"],
publicFriendsList: response["public_friends_list"],
virtualDirectory: response["virtual_directory"],
personnalWebsite: response["personnal_website"],
personalWebsite: response["personnal_website"],
publicNote: response["publicNote"],
);
}
@ -57,7 +57,7 @@ class SettingsHelper {
"allowPostsFromFriends":
settings.allowPostsFromFriends ? "true" : "false",
"publicFriendsList": settings.publicFriendsList ? "true" : "false",
"personnalWebsite": settings.personnalWebsite,
"personnalWebsite": settings.personalWebsite,
"virtualDirectory": settings.virtualDirectory,
"publicNote": settings.publicNote,
}).exec())

View File

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