Edenik / InstaDart-Flutter-Instagram-Clone

Instagram Clone App Using - Dart, Flutter, Firebase
49 stars 18 forks source link

Posts Not Showing on Feed Screen #12

Open ghost opened 3 years ago

ghost commented 3 years ago

@Edenik

Please help me to fix this issue ``` setState(() => _isLoadingFeed = true); List posts = await DatabaseService.getFeedPosts( widget.currentUserId, ); //List posts = await DatabaseService.getAllFeedPosts(); setState(() { _posts = posts; _isLoadingFeed = false; }); ```


This doesn't show feeds after following users on feed screen ``` List posts = await DatabaseService.getFeedPosts( widget.currentUserId, ); ```

Whereas by enabling the commented part of code, I am getting feeds from all users instead of Custom photo feed based on who you follow

``` //List posts = await DatabaseService.getAllFeedPosts(); ``` Thanks & Regards, Kurubaran Anandhan.
smamaHsn commented 3 years ago

i am facing same issue , please help us @Edenik