1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 21:09:21 +00:00
This commit is contained in:
Pierre HUBERT 2020-04-25 17:17:11 +02:00
parent da48328c92
commit cbc0de944e

View File

@ -67,7 +67,7 @@ class _PostCreateFormWidgetState extends State<PostCreateFormWidget> {
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<PostCreateFormWidget> {
return PostKind.COUNTDOWN;
else if (hasSurvey)
return PostKind.SURVEY;
else if (hasYoutTubeID)
else if (hasYouTubeID)
return PostKind.YOUTUBE;
else
return PostKind.TEXT;