Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-11 14:48:10 +08:00
parent 4a4aa569ec
commit 2c92845af0
4 changed files with 18 additions and 17 deletions

View File

@@ -41,6 +41,8 @@ class _MainAppState extends State<MainApp>
@override
void didChangeDependencies() {
super.didChangeDependencies();
NetworkImgLayer.reduce =
NetworkImgLayer.reduceLuxColor != null && context.isDarkMode;
MainApp.routeObserver.subscribe(this, ModalRoute.of(context) as PageRoute);
}