mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: lint
mod: tweaks opt: publish page Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -37,7 +37,7 @@ class HistoryController extends MultiSelectController<HistoryData, HisListItem>
|
||||
}
|
||||
|
||||
@override
|
||||
onSelect(int index, [bool disableSelect = true]) {
|
||||
void onSelect(int index, [bool disableSelect = true]) {
|
||||
List<HisListItem> list = (loadingState.value as Success).response;
|
||||
list[index].checked = !(list[index].checked ?? false);
|
||||
baseCtr.checkedCount.value =
|
||||
@@ -121,7 +121,7 @@ class HistoryController extends MultiSelectController<HistoryData, HisListItem>
|
||||
}
|
||||
}
|
||||
|
||||
void _onDelete(List<HisListItem> result) async {
|
||||
Future<void> _onDelete(List<HisListItem> result) async {
|
||||
SmartDialog.showLoading(msg: '请求中');
|
||||
List<String> kidList = result.map((item) {
|
||||
return '${item.history.business}_${item.kid}';
|
||||
|
||||
@@ -199,7 +199,7 @@ class _HistoryPageState extends State<HistoryPage>
|
||||
}
|
||||
},
|
||||
tabs: [
|
||||
Tab(text: '全部'),
|
||||
const Tab(text: '全部'),
|
||||
..._historyController.tabs.map(
|
||||
(item) => Tab(text: item.name),
|
||||
),
|
||||
|
||||
@@ -265,10 +265,10 @@ class HistoryItem extends StatelessWidget {
|
||||
child: Row(
|
||||
children: [
|
||||
Icon(MdiIcons.accountCircleOutline, size: 16),
|
||||
SizedBox(width: 6),
|
||||
const SizedBox(width: 6),
|
||||
Text(
|
||||
'访问:${videoItem.authorName}',
|
||||
style: TextStyle(fontSize: 13),
|
||||
style: const TextStyle(fontSize: 13),
|
||||
)
|
||||
],
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user