mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
@@ -299,17 +299,15 @@ class _MainAppState extends PopScopeState<MainApp>
|
|||||||
),
|
),
|
||||||
)
|
)
|
||||||
: null;
|
: null;
|
||||||
if (bottomNav != null) {
|
if (bottomNav != null && _mainController.hideBottomBar) {
|
||||||
if (_mainController.barOffset case final bottomBarOffset?) {
|
return Obx(
|
||||||
return Obx(
|
() => CustomHeightWidget(
|
||||||
() => CustomHeightWidget(
|
height:
|
||||||
height:
|
_mainController.navHeight *
|
||||||
_mainController.navHeight *
|
(1 - _mainController.barOffset!.value / StyleString.topBarHeight),
|
||||||
(1 - bottomBarOffset.value / StyleString.topBarHeight),
|
child: bottomNav,
|
||||||
child: bottomNav,
|
),
|
||||||
),
|
);
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return bottomNav;
|
return bottomNav;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user