opt pages

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-06 13:46:39 +08:00
parent b149ee4998
commit 4a00b45c5c
43 changed files with 261 additions and 227 deletions

View File

@@ -61,10 +61,10 @@ class SearchVideoController
return false;
}
void onPushDetail(resultList) {
void onPushDetail(List<SearchVideoItemModel>? resultList) {
try {
int? aid = int.tryParse(keyword);
if (aid != null && resultList.first.aid == aid) {
if (aid != null && resultList?.firstOrNull?.aid == aid) {
PiliScheme.videoPush(aid, null, showDialog: false);
}
} catch (_) {}