forked from eatvio/eatvio_app
feat(feed): about diets screen
This commit is contained in:
@@ -64,8 +64,10 @@ class _FeedScreenState extends State<FeedScreen> {
|
||||
return _buildAllBlogPosts();
|
||||
else if (_selectedChipIndex == 1)
|
||||
return _buildAllRecipes();
|
||||
else
|
||||
else if (_selectedChipIndex == 2)
|
||||
return _buildDiets();
|
||||
else
|
||||
return Center(child: Text(chipsLabelList[_selectedChipIndex]));
|
||||
},
|
||||
),
|
||||
),
|
||||
|
||||
@@ -84,7 +84,7 @@ class _DietsWidgetState extends State<DietsWidget> {
|
||||
),
|
||||
SizedBox(width: 4),
|
||||
Text(
|
||||
'0',
|
||||
widget.datum.totalLikes.toString(),
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
color: Colors.black,
|
||||
@@ -113,7 +113,7 @@ class _DietsWidgetState extends State<DietsWidget> {
|
||||
),
|
||||
SizedBox(width: 4),
|
||||
Text(
|
||||
'0',
|
||||
widget.datum.totalViews.toString(),
|
||||
style: TextStyle(
|
||||
fontSize: 12,
|
||||
color: Colors.black,
|
||||
|
||||
Reference in New Issue
Block a user