mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Make navigation bar in local viewer black
This commit is contained in:
parent
84782974d9
commit
70a234a9b4
1 changed files with 10 additions and 3 deletions
|
@ -1,4 +1,5 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:flutter/services.dart';
|
||||||
import 'package:kiwi/kiwi.dart';
|
import 'package:kiwi/kiwi.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
import 'package:nc_photos/app_localizations.dart';
|
import 'package:nc_photos/app_localizations.dart';
|
||||||
|
@ -54,9 +55,15 @@ class _LocalFileViewerState extends State<LocalFileViewer> {
|
||||||
build(BuildContext context) {
|
build(BuildContext context) {
|
||||||
return Theme(
|
return Theme(
|
||||||
data: buildDarkTheme(context),
|
data: buildDarkTheme(context),
|
||||||
child: Scaffold(
|
child: AnnotatedRegion<SystemUiOverlayStyle>(
|
||||||
body: Builder(
|
value: const SystemUiOverlayStyle(
|
||||||
builder: _buildContent,
|
systemNavigationBarColor: Colors.black,
|
||||||
|
systemNavigationBarIconBrightness: Brightness.dark,
|
||||||
|
),
|
||||||
|
child: Scaffold(
|
||||||
|
body: Builder(
|
||||||
|
builder: _buildContent,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue