mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-05 18:20:10 +08:00
@@ -9,9 +9,9 @@ class HistorySearchController
|
||||
extends CommonSearchController<HistoryData, HistoryItemModel> {
|
||||
@override
|
||||
Future<LoadingState<HistoryData>> customGetData() => UserHttp.searchHistory(
|
||||
pn: page,
|
||||
keyword: editController.value.text,
|
||||
);
|
||||
pn: page,
|
||||
keyword: editController.value.text,
|
||||
);
|
||||
|
||||
@override
|
||||
List<HistoryItemModel>? getDataList(HistoryData response) {
|
||||
|
||||
@@ -15,8 +15,13 @@ class HistorySearchPage extends CommonSearchPage {
|
||||
State<HistorySearchPage> createState() => _HistorySearchPageState();
|
||||
}
|
||||
|
||||
class _HistorySearchPageState extends CommonSearchPageState<HistorySearchPage,
|
||||
HistoryData, HistoryItemModel> {
|
||||
class _HistorySearchPageState
|
||||
extends
|
||||
CommonSearchPageState<
|
||||
HistorySearchPage,
|
||||
HistoryData,
|
||||
HistoryItemModel
|
||||
> {
|
||||
@override
|
||||
final HistorySearchController controller = Get.put(
|
||||
HistorySearchController(),
|
||||
|
||||
Reference in New Issue
Block a user