Unverified Commit fc67f2ef authored by rami-a's avatar rami-a Committed by GitHub

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
parent af3cdb33
......@@ -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),
);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment