remove boolext

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-30 22:19:32 +08:00
parent 3031d5e3b0
commit a260b1640a
55 changed files with 185 additions and 257 deletions

View File

@@ -60,7 +60,7 @@ class HistoryController extends MultiSelectController<HistoryData, HisListItem>
loadingState.refresh();
}
}
if (checked.not) {
if (!checked) {
baseCtr.enableMultiSelect.value = false;
}
}

View File

@@ -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) {