mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-26 20:16:26 +08:00
chore: code clean up
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -18,8 +18,8 @@ class SearchVideoPanel extends StatelessWidget {
|
||||
SearchVideoPanel({
|
||||
required this.ctr,
|
||||
required this.loadingState,
|
||||
Key? key,
|
||||
}) : super(key: key);
|
||||
super.key,
|
||||
});
|
||||
|
||||
final SearchPanelController ctr;
|
||||
final dynamic loadingState;
|
||||
@@ -55,7 +55,7 @@ class SearchVideoPanel extends StatelessWidget {
|
||||
type: i['type'],
|
||||
selectedType: controller.selectedType.value,
|
||||
callFn: (bool selected) async {
|
||||
print('selected: $selected');
|
||||
debugPrint('selected: $selected');
|
||||
controller.selectedType.value = i['type'];
|
||||
ctr.order.value =
|
||||
i['type'].toString().split('.').last;
|
||||
@@ -136,8 +136,8 @@ class CustomFilterChip extends StatelessWidget {
|
||||
this.type,
|
||||
this.selectedType,
|
||||
this.callFn,
|
||||
Key? key,
|
||||
}) : super(key: key);
|
||||
super.key,
|
||||
});
|
||||
|
||||
final String? label;
|
||||
final ArchiveFilterType? type;
|
||||
|
||||
Reference in New Issue
Block a user