We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44a34c9 commit 9a04d54Copy full SHA for 9a04d54
lib/Screens/Search/SearchScreen.dart
@@ -69,8 +69,7 @@ class SearchScreenState extends State<SearchScreen> {
69
var key =
70
"${service.getName}${widget.title.name.toUpperCase()}_searchHistory";
71
var theme = context.theme.colorScheme;
72
- List<String> searchHistory = loadCustomData(key) ?? [];
73
-
+ List<String> searchHistory = (loadCustomData(key) ?? []);
74
return CustomScrollConfig(
75
context,
76
controller: screen.scrollController,
@@ -86,6 +85,7 @@ class SearchScreenState extends State<SearchScreen> {
86
85
children: [
87
...screen.headerWidget(context),
88
ListView.builder(
+ reverse: true,
89
shrinkWrap: true,
90
physics: const NeverScrollableScrollPhysics(),
91
itemCount: searchHistory.length,
0 commit comments