Make navigation bar in local viewer black

This commit is contained in:
Ming Ming 2023-09-01 12:29:31 +08:00
parent 84782974d9
commit 70a234a9b4

View file

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:kiwi/kiwi.dart';
import 'package:logging/logging.dart';
import 'package:nc_photos/app_localizations.dart';
@ -54,11 +55,17 @@ class _LocalFileViewerState extends State<LocalFileViewer> {
build(BuildContext context) {
return Theme(
data: buildDarkTheme(context),
child: AnnotatedRegion<SystemUiOverlayStyle>(
value: const SystemUiOverlayStyle(
systemNavigationBarColor: Colors.black,
systemNavigationBarIconBrightness: Brightness.dark,
),
child: Scaffold(
body: Builder(
builder: _buildContent,
),
),
),
);
}