Fix deep links (#207)

This commit is contained in:
Ian VanSchooten 2024-12-18 10:26:46 -05:00 committed by GitHub
parent c97732d1be
commit a449a650c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 35 additions and 39 deletions

View File

@ -94,11 +94,8 @@ class _AppState extends State<App> {
),
);
return MaterialApp(
theme: brightness == Brightness.light ? lightTheme : darkTheme,
home: Scaffold(
body: PlatformProvider(
//initialPlatform: initialPlatform,
return PlatformProvider(
settings: PlatformSettingsData(iosUsesMaterialWidgets: true),
builder: (context) => PlatformApp(
debugShowCheckedModeBanner: false,
localizationsDelegates: <LocalizationsDelegate<dynamic>>[
@ -110,6 +107,7 @@ class _AppState extends State<App> {
material: (_, __) {
return new MaterialAppData(
themeMode: brightness == Brightness.light ? ThemeMode.light : ThemeMode.dark,
theme: brightness == Brightness.light ? lightTheme : darkTheme,
);
},
cupertino: (_, __) => CupertinoAppData(
@ -133,8 +131,6 @@ class _AppState extends State<App> {
return null;
},
),
),
),
);
}
}