🐛 Remove dark theme for a while to fix display issue

This commit is contained in:
LittleSheep 2024-03-24 01:33:47 +08:00
parent e54a506671
commit 827f8f1175

View File

@ -19,7 +19,6 @@ class SolarAgent extends StatelessWidget {
return MaterialApp.router(
title: 'SolarAgent',
theme: ThemeData(
brightness: Brightness.light,
colorScheme: ColorScheme.fromSwatch(
primarySwatch: Colors.indigo,
accentColor: Colors.indigoAccent,
@ -28,16 +27,6 @@ class SolarAgent extends StatelessWidget {
),
useMaterial3: true,
),
darkTheme: ThemeData(
brightness: Brightness.dark,
colorScheme: ColorScheme.fromSwatch(
primarySwatch: Colors.indigo,
accentColor: Colors.indigoAccent,
backgroundColor: Colors.black,
brightness: Brightness.dark,
),
useMaterial3: true,
),
routerConfig: router,
builder: (context, child) => Overlay(
initialEntries: [