From da38ce426f25fd4493b7bd098773c240c8f28928 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 27 Apr 2020 13:27:59 +0200 Subject: [PATCH] Fix typo --- lib/helpers/settings_helper.dart | 4 ++-- lib/models/general_settings.dart | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/helpers/settings_helper.dart b/lib/helpers/settings_helper.dart index de669e4..838f1f0 100644 --- a/lib/helpers/settings_helper.dart +++ b/lib/helpers/settings_helper.dart @@ -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()) diff --git a/lib/models/general_settings.dart b/lib/models/general_settings.dart index 5326810..e2f1830 100644 --- a/lib/models/general_settings.dart +++ b/lib/models/general_settings.dart @@ -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); }