feat(feed): add diets api and create blog post screen, fix status bar

This commit is contained in:
mso7nueh
2024-08-08 10:39:53 +03:00
parent 21e03d956c
commit f4c6aebdff
67 changed files with 4253 additions and 1617 deletions

View File

@@ -55,7 +55,14 @@ class _FeedScreenState extends State<FeedScreen> {
),
];
},
body: _selectedChipIndex == 0 ? _buildAllBlogPosts() : _buildAllRecipes(),
body: Builder(
builder: (BuildContext context) {
if (_selectedChipIndex == 0)
return _buildAllBlogPosts();
else
return _buildAllRecipes();
},
),
),
);
}