mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-06-01 08:38:18 +08:00
remove boolext
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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