Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-30 14:50:54 +08:00
parent 80fa0240e9
commit 8d94c0405f
115 changed files with 3150 additions and 1438 deletions

View File

@@ -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,