mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Fix navigation bar color in slideshow viewer
This commit is contained in:
parent
43ddf28d56
commit
fd57dd562f
1 changed files with 8 additions and 2 deletions
|
@ -118,8 +118,14 @@ class _WrappedSlideshowViewerState extends State<_WrappedSlideshowViewer>
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Theme(
|
return Theme(
|
||||||
data: buildDarkTheme(context),
|
data: buildDarkTheme(context),
|
||||||
child: const Scaffold(
|
child: const AnnotatedRegion<SystemUiOverlayStyle>(
|
||||||
body: _Body(),
|
value: SystemUiOverlayStyle(
|
||||||
|
systemNavigationBarColor: Colors.black,
|
||||||
|
systemNavigationBarIconBrightness: Brightness.dark,
|
||||||
|
),
|
||||||
|
child: Scaffold(
|
||||||
|
body: _Body(),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue