diff --git a/lib/features/blog_post_create/presentation/pages/blog_post_create_screen.dart b/lib/features/blog_post_create/presentation/pages/blog_post_create_screen.dart index 2a03f274..f1ed37d2 100644 --- a/lib/features/blog_post_create/presentation/pages/blog_post_create_screen.dart +++ b/lib/features/blog_post_create/presentation/pages/blog_post_create_screen.dart @@ -100,9 +100,6 @@ class _BlogPostCreateScreenState extends State { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - if (state.youtubeURL!.text.isEmpty) Text('Изображение поста'), - if (state.youtubeURL!.text.isEmpty) SizedBox(height: 8), - if (state.youtubeURL!.text.isEmpty) _buildAddPhoto(state), SizedBox(height: 16), Text('Заголовок'), SizedBox(height: 8), @@ -115,9 +112,13 @@ class _BlogPostCreateScreenState extends State { CustomTextFormField( controller: state.description, maxLines: 6, - minLines: 1, + minLines: 4, ), SizedBox(height: 16), + if (state.youtubeURL!.text.isEmpty) Text('Изображение поста'), + if (state.youtubeURL!.text.isEmpty) SizedBox(height: 8), + if (state.youtubeURL!.text.isEmpty) _buildAddPhoto(state), + SizedBox(height: 16), if (state.image == null) Text('Ссылка на видео'), if (state.image == null) SizedBox(height: 8), if (state.image == null)