mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-21 08:38:37 +00:00
@@ -416,7 +416,7 @@ class _SearchPageState extends State<SearchPage> {
|
||||
bool isTrending,
|
||||
) {
|
||||
return switch (loadingState) {
|
||||
Success(:var response) =>
|
||||
Success(:final response) =>
|
||||
response.list?.isNotEmpty == true
|
||||
? LayoutBuilder(
|
||||
builder: (context, constraints) => HotKeyword(
|
||||
@@ -426,7 +426,7 @@ class _SearchPageState extends State<SearchPage> {
|
||||
),
|
||||
)
|
||||
: const SizedBox.shrink(),
|
||||
Error(:var errMsg) => errorWidget(
|
||||
Error(:final errMsg) => errorWidget(
|
||||
errMsg: errMsg,
|
||||
onReload: isTrending
|
||||
? _searchController.queryTrendingList
|
||||
|
||||
Reference in New Issue
Block a user