Skip to content

Commit

Permalink
search: fix key specification
Browse files Browse the repository at this point in the history
  • Loading branch information
violet-dev committed May 28, 2022
1 parent dc5e0e4 commit cf20fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pages/search/search_page.dart
Expand Up @@ -755,7 +755,7 @@ class ResultPanelWidget extends StatelessWidget {
return SliverPadding(
padding: EdgeInsets.fromLTRB(8, 0, 8, 16),
sliver: SliverGrid(
key: key,
key: sliverKey,
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: Settings.useTabletMode ? mm * 2 : mm,
crossAxisSpacing: 8,
Expand Down Expand Up @@ -802,7 +802,7 @@ class ResultPanelWidget extends StatelessWidget {
return SliverPadding(
padding: EdgeInsets.fromLTRB(8, 0, 8, 16),
sliver: LiveSliverGrid(
key: key,
key: sliverKey,
controller: _scrollController,
showItemInterval: Duration(milliseconds: 50),
showItemDuration: Duration(milliseconds: 150),
Expand Down

0 comments on commit cf20fa4

Please sign in to comment.