From cbc0de944ed68136d68c5a2c98bbc6cb39f8401d Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 25 Apr 2020 17:17:11 +0200 Subject: [PATCH] Fix typo --- lib/ui/widgets/post_create_form_widget.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ui/widgets/post_create_form_widget.dart b/lib/ui/widgets/post_create_form_widget.dart index 5b91e57..4843242 100644 --- a/lib/ui/widgets/post_create_form_widget.dart +++ b/lib/ui/widgets/post_create_form_widget.dart @@ -67,7 +67,7 @@ class _PostCreateFormWidgetState extends State { bool get hasSurvey => _postSurvey != null; - bool get hasYoutTubeID => _youtubeID != null; + bool get hasYouTubeID => _youtubeID != null; bool get canSubmitForm => !_isCreating && _postTextController.text.length > 5 || @@ -84,7 +84,7 @@ class _PostCreateFormWidgetState extends State { return PostKind.COUNTDOWN; else if (hasSurvey) return PostKind.SURVEY; - else if (hasYoutTubeID) + else if (hasYouTubeID) return PostKind.YOUTUBE; else return PostKind.TEXT;