mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
@@ -22,7 +22,7 @@ class SearchVideoController
|
||||
required super.tag,
|
||||
});
|
||||
|
||||
bool? hasJump2Video;
|
||||
late bool hasJump2Video = false;
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
@@ -45,7 +45,7 @@ class SearchVideoController
|
||||
bool customHandleResponse(bool isRefresh, Success<SearchVideoData> response) {
|
||||
searchResultController?.count[searchType.index] =
|
||||
response.response.numResults ?? 0;
|
||||
if (searchType == SearchType.video && hasJump2Video != true && isRefresh) {
|
||||
if (searchType == SearchType.video && !hasJump2Video && isRefresh) {
|
||||
hasJump2Video = true;
|
||||
onPushDetail(response.response.list);
|
||||
}
|
||||
@@ -154,8 +154,7 @@ class SearchVideoController
|
||||
}
|
||||
|
||||
return SingleChildScrollView(
|
||||
child: Container(
|
||||
width: double.infinity,
|
||||
child: Padding(
|
||||
padding: EdgeInsets.only(
|
||||
top: 20,
|
||||
left: 16,
|
||||
|
||||
Reference in New Issue
Block a user