Skip to content

Commit

Permalink
fix the load more button hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
BrightDV committed Oct 12, 2022
1 parent 510939b commit b6831b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Screens/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class _HomeScreenState extends State<HomeScreen> {
children: <Widget>[
LiveSessionStatusIndicator(),
Container(
height: MediaQuery.of(context).size.height - 110,
height: MediaQuery.of(context).size.height - 130,
child: NewsFeedWidget(),
),
],
Expand Down
1 change: 1 addition & 0 deletions lib/api/news.dart
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ class _NewsListState extends State<NewsList> {
return ListView.builder(
scrollDirection: Axis.vertical,
shrinkWrap: true,
physics: BouncingScrollPhysics(),
itemCount:
(present <= originalItems.length) ? items.length + 1 : items.length,
itemBuilder: (context, index) {
Expand Down

0 comments on commit b6831b5

Please sign in to comment.