mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +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 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;
|
||||
|
Loading…
Reference in New Issue
Block a user