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"],
|
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())
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user