Fix deep links (#207)
This commit is contained in:
parent
c97732d1be
commit
a449a650c3
|
@ -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;
|
||||
},
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue