Ensure Shrine app respects the platform toggle from Gallery options (#27400)
* Ensure Shrine app repsects the platform toggle from Gallery options * Retrigger CI * Retrigger CI again
This commit is contained in:
parent
af3cdb33da
commit
fc67f2efc7
@ -58,7 +58,9 @@ class _ShrineAppState extends State<ShrineApp> with SingleTickerProviderStateMix
|
||||
),
|
||||
initialRoute: '/login',
|
||||
onGenerateRoute: _getRoute,
|
||||
theme: _kShrineTheme,
|
||||
// Copy the platform from the main theme in order to support platform
|
||||
// toggling from the Gallery options menu.
|
||||
theme: _kShrineTheme.copyWith(platform: Theme.of(context).platform),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user