mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-27 03:28:40 +00:00
@@ -51,7 +51,7 @@ class SearchAllController
|
||||
pubEnd: pubEnd,
|
||||
);
|
||||
|
||||
Future<void> onPushDetail(resultList) async {
|
||||
void onPushDetail(resultList) {
|
||||
try {
|
||||
int? aid = int.tryParse(keyword);
|
||||
if (aid != null && resultList.first.aid == aid) {
|
||||
|
||||
@@ -18,7 +18,7 @@ class LiveItem extends StatelessWidget {
|
||||
clipBehavior: Clip.hardEdge,
|
||||
margin: EdgeInsets.zero,
|
||||
child: InkWell(
|
||||
onTap: () async {
|
||||
onTap: () {
|
||||
Get.toNamed('/liveRoom?roomid=${liveItem.roomid}');
|
||||
},
|
||||
onLongPress: () => imageSaveDialog(
|
||||
|
||||
@@ -62,7 +62,7 @@ class SearchVideoController
|
||||
return false;
|
||||
}
|
||||
|
||||
Future<void> onPushDetail(resultList) async {
|
||||
void onPushDetail(resultList) {
|
||||
try {
|
||||
int? aid = int.tryParse(keyword);
|
||||
if (aid != null && resultList.first.aid == aid) {
|
||||
|
||||
@@ -40,9 +40,7 @@ abstract class CommonSearchPanelState<
|
||||
super.build(context);
|
||||
final theme = Theme.of(context);
|
||||
return refreshIndicator(
|
||||
onRefresh: () async {
|
||||
await controller.onRefresh();
|
||||
},
|
||||
onRefresh: controller.onRefresh,
|
||||
child: CustomScrollView(
|
||||
controller: controller.scrollController,
|
||||
physics: const AlwaysScrollableScrollPhysics(),
|
||||
|
||||
Reference in New Issue
Block a user