mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +00:00
Fix typo
This commit is contained in:
parent
8f927e9f72
commit
da38ce426f
@ -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())
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user