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;