diff --git a/app/lib/widget/local_file_viewer.dart b/app/lib/widget/local_file_viewer.dart index 4e48a42e..344a5ed7 100644 --- a/app/lib/widget/local_file_viewer.dart +++ b/app/lib/widget/local_file_viewer.dart @@ -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,9 +55,15 @@ class _LocalFileViewerState extends State { build(BuildContext context) { return Theme( data: buildDarkTheme(context), - child: Scaffold( - body: Builder( - builder: _buildContent, + child: AnnotatedRegion( + value: const SystemUiOverlayStyle( + systemNavigationBarColor: Colors.black, + systemNavigationBarIconBrightness: Brightness.dark, + ), + child: Scaffold( + body: Builder( + builder: _buildContent, + ), ), ), );