Skip to content

Commit 1ce48cd

Browse files
committed
fix: 仅一项时,无法触发下拉刷新
close #43
1 parent b8028c1 commit 1ce48cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ui/bookmarks/widget/bookmark_list_screen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ class _BookmarkListScreenState<T extends BaseBookmarksViewmodel>
171171
},
172172
child: ListView.builder(
173173
controller: _scrollController,
174+
physics: const AlwaysScrollableScrollPhysics(),
174175
padding: const EdgeInsets.all(16),
175176
itemCount: bookmarks.length + (widget.viewModel.hasMoreData ? 1 : 0),
176177
itemBuilder: (context, index) {

0 commit comments

Comments
 (0)