mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-31 16:18:22 +08:00
@@ -34,7 +34,6 @@ class MainController extends GetxController
|
|||||||
RxBool? showBottomBar;
|
RxBool? showBottomBar;
|
||||||
late final bool hideBottomBar;
|
late final bool hideBottomBar;
|
||||||
late final barHideType = Pref.barHideType;
|
late final barHideType = Pref.barHideType;
|
||||||
late double navHeight = 80.0;
|
|
||||||
bool useBottomNav = false;
|
bool useBottomNav = false;
|
||||||
late dynamic controller;
|
late dynamic controller;
|
||||||
final RxInt selectedIndex = 0.obs;
|
final RxInt selectedIndex = 0.obs;
|
||||||
|
|||||||
@@ -56,9 +56,6 @@ class _MainAppState extends PopScopeState<MainApp>
|
|||||||
void didChangeDependencies() {
|
void didChangeDependencies() {
|
||||||
super.didChangeDependencies();
|
super.didChangeDependencies();
|
||||||
_padding = MediaQuery.viewPaddingOf(context);
|
_padding = MediaQuery.viewPaddingOf(context);
|
||||||
if (_mainController.hideBottomBar && _mainController.barHideType == .sync) {
|
|
||||||
_mainController.navHeight = 80.0 + _padding.bottom;
|
|
||||||
}
|
|
||||||
final brightness = Theme.brightnessOf(context);
|
final brightness = Theme.brightnessOf(context);
|
||||||
NetworkImgLayer.reduce =
|
NetworkImgLayer.reduce =
|
||||||
NetworkImgLayer.reduceLuxColor != null && brightness.isDark;
|
NetworkImgLayer.reduceLuxColor != null && brightness.isDark;
|
||||||
|
|||||||
Reference in New Issue
Block a user