mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-20 11:08:03 +08:00
tweak (#1325)
* tweak * opt: async * tweak * opt: PopularSeries tile * tweak * opt: sc * mod: more account type * tweak * opt: qrcode * tweak * partial revert: opt: sc * fix * fix * mod: window enqueue
This commit is contained in:
committed by
GitHub
parent
67c25bd130
commit
4ae3bd2845
@@ -7,9 +7,8 @@ import 'package:get/get.dart';
|
||||
|
||||
class NoteListPageCtr
|
||||
extends CommonListController<VideoNoteData, VideoNoteItemModel> {
|
||||
NoteListPageCtr({this.oid, this.upperMid});
|
||||
final dynamic oid;
|
||||
final dynamic upperMid;
|
||||
NoteListPageCtr({required this.oid});
|
||||
final int oid;
|
||||
|
||||
RxInt count = (-1).obs;
|
||||
|
||||
@@ -37,7 +36,6 @@ class NoteListPageCtr
|
||||
Future<LoadingState<VideoNoteData>> customGetData() =>
|
||||
VideoHttp.getVideoNoteList(
|
||||
oid: oid,
|
||||
uperMid: upperMid,
|
||||
page: page,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -20,17 +20,15 @@ class NoteListPage extends CommonSlidePage {
|
||||
super.key,
|
||||
super.enableSlide,
|
||||
required this.heroTag,
|
||||
this.oid,
|
||||
this.upperMid,
|
||||
required this.oid,
|
||||
required this.isStein,
|
||||
required this.title,
|
||||
});
|
||||
|
||||
final dynamic heroTag;
|
||||
final dynamic oid;
|
||||
final dynamic upperMid;
|
||||
final String? heroTag;
|
||||
final int oid;
|
||||
final bool isStein;
|
||||
final dynamic title;
|
||||
final String? title;
|
||||
|
||||
@override
|
||||
State<NoteListPage> createState() => _NoteListPageState();
|
||||
@@ -39,7 +37,7 @@ class NoteListPage extends CommonSlidePage {
|
||||
class _NoteListPageState extends State<NoteListPage>
|
||||
with SingleTickerProviderStateMixin, CommonSlideMixin {
|
||||
late final _controller = Get.put(
|
||||
NoteListPageCtr(oid: widget.oid, upperMid: widget.upperMid),
|
||||
NoteListPageCtr(oid: widget.oid),
|
||||
tag: widget.heroTag,
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user