mirror of
https://github.com/flutter/samples.git
synced 2026-06-03 21:09:46 +00:00
[VeggieSeasons] Fix dark mode problems (#395)
This commit is contained in:
committed by
GitHub
parent
28742ddeaf
commit
d9c9b3a519
@@ -8,7 +8,6 @@ import 'package:scoped_model/scoped_model.dart';
|
||||
import 'package:veggieseasons/data/app_state.dart';
|
||||
import 'package:veggieseasons/data/preferences.dart';
|
||||
import 'package:veggieseasons/screens/home.dart';
|
||||
import 'package:veggieseasons/styles.dart';
|
||||
|
||||
void main() {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
@@ -23,11 +22,7 @@ void main() {
|
||||
child: ScopedModel<Preferences>(
|
||||
model: Preferences()..load(),
|
||||
child: CupertinoApp(
|
||||
theme: CupertinoThemeData(
|
||||
brightness: Brightness.light,
|
||||
),
|
||||
debugShowCheckedModeBanner: false,
|
||||
color: Styles.appBackground,
|
||||
home: HomeScreen(),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user