mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-26 14:59:22 +00:00
Fix typo
This commit is contained in:
parent
da48328c92
commit
cbc0de944e
@ -67,7 +67,7 @@ class _PostCreateFormWidgetState extends State<PostCreateFormWidget> {
|
|||||||
|
|
||||||
bool get hasSurvey => _postSurvey != null;
|
bool get hasSurvey => _postSurvey != null;
|
||||||
|
|
||||||
bool get hasYoutTubeID => _youtubeID != null;
|
bool get hasYouTubeID => _youtubeID != null;
|
||||||
|
|
||||||
bool get canSubmitForm =>
|
bool get canSubmitForm =>
|
||||||
!_isCreating && _postTextController.text.length > 5 ||
|
!_isCreating && _postTextController.text.length > 5 ||
|
||||||
@ -84,7 +84,7 @@ class _PostCreateFormWidgetState extends State<PostCreateFormWidget> {
|
|||||||
return PostKind.COUNTDOWN;
|
return PostKind.COUNTDOWN;
|
||||||
else if (hasSurvey)
|
else if (hasSurvey)
|
||||||
return PostKind.SURVEY;
|
return PostKind.SURVEY;
|
||||||
else if (hasYoutTubeID)
|
else if (hasYouTubeID)
|
||||||
return PostKind.YOUTUBE;
|
return PostKind.YOUTUBE;
|
||||||
else
|
else
|
||||||
return PostKind.TEXT;
|
return PostKind.TEXT;
|
||||||
|
Loading…
Reference in New Issue
Block a user