dark theme install page

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-02-27 17:54:18 +08:00
parent 6048efe02b
commit 6971f45fd0
2 changed files with 11 additions and 11 deletions

View File

@@ -291,7 +291,7 @@ void _runApp(
void runInstallPage() async {
await windowManager.ensureInitialized();
await initEnv(kAppTypeMain);
_runApp('', const InstallPage(), ThemeMode.light);
_runApp('', const InstallPage(), MyTheme.currentThemeMode());
windowManager.waitUntilReadyToShow(
WindowOptions(size: Size(800, 600), center: true), () async {
windowManager.show();