feat(feed) Blog post edit API connect, TextController management and redirect

This commit is contained in:
2024-05-13 12:49:47 +03:00
parent 96ad5a7cfb
commit 1ad58f8f42
5 changed files with 69 additions and 15 deletions

View File

@@ -44,7 +44,6 @@ class BlogPostBloc extends Bloc<BlogPostEvent, BlogPostState> {
blog_post: currentState.blog_post));
} else {
emit(BlogPostLoadedState(blog_post: data));
print(data);
}
} else {
// Один или несколько ключевых полей отсутствуют, обрабатываем ошибку

View File

@@ -46,7 +46,6 @@ class BlogPostScreen extends StatelessWidget {
}
_buildBlogPost(BuildContext context, BlogPostLoadedState state) {
print(state.blog_post);
mediaQueryData = MediaQuery.of(context);
return SafeArea(
child: Scaffold(