mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
remove boolext
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -60,7 +60,7 @@ class HistoryController extends MultiSelectController<HistoryData, HisListItem>
|
||||
loadingState.refresh();
|
||||
}
|
||||
}
|
||||
if (checked.not) {
|
||||
if (!checked) {
|
||||
baseCtr.enableMultiSelect.value = false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ class _HistoryPageState extends State<HistoryPage>
|
||||
? _buildPage
|
||||
: Obx(
|
||||
() => PopScope(
|
||||
canPop: enableMultiSelect.not,
|
||||
canPop: !enableMultiSelect,
|
||||
onPopInvokedWithResult: (didPop, result) {
|
||||
if (enableMultiSelect) {
|
||||
currCtr().handleSelect();
|
||||
@@ -184,8 +184,8 @@ class _HistoryPageState extends State<HistoryPage>
|
||||
TabBar(
|
||||
controller: _historyController.tabController,
|
||||
onTap: (index) {
|
||||
if (_historyController
|
||||
.tabController!.indexIsChanging.not) {
|
||||
if (!_historyController
|
||||
.tabController!.indexIsChanging) {
|
||||
currCtr().scrollController.animToTop();
|
||||
} else {
|
||||
if (enableMultiSelect) {
|
||||
|
||||
Reference in New Issue
Block a user