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

@@ -58,7 +58,7 @@ class _LaterPageState extends State<LaterPage>
Widget build(BuildContext context) {
return Obx(
() => PopScope(
canPop: _baseCtr.enableMultiSelect.value.not,
canPop: !_baseCtr.enableMultiSelect.value,
onPopInvokedWithResult: (didPop, result) {
if (_baseCtr.enableMultiSelect.value) {
currCtr().handleSelect();
@@ -91,7 +91,7 @@ class _LaterPageState extends State<LaterPage>
text: '${item.title}${count != -1 ? '($count)' : ''}');
}).toList(),
onTap: (_) {
if (_tabController.indexIsChanging.not) {
if (!_tabController.indexIsChanging) {
currCtr().scrollController.animToTop();
} else {
if (_baseCtr.enableMultiSelect.value) {