Force a light status bar on all screens + a SmoothScaffold now handles correctly the brightness (#2343)

This commit is contained in:
Edouard Marquez
2022-07-04 16:58:55 +02:00
committed by GitHub
parent bee22a3e67
commit 1e889df3df
34 changed files with 326 additions and 142 deletions

View File

@ -28,6 +28,7 @@ import 'package:smooth_app/query/product_query.dart';
import 'package:smooth_app/services/smooth_services.dart';
import 'package:smooth_app/themes/smooth_theme.dart';
import 'package:smooth_app/themes/theme_provider.dart';
import 'package:smooth_app/widgets/smooth_scaffold.dart';
late bool _screenshots;
@ -233,7 +234,7 @@ class _SmoothAppState extends State<SmoothApp> {
Widget _buildError(AsyncSnapshot<void> snapshot) {
return MaterialApp(
home: Scaffold(
home: SmoothScaffold(
body: Center(
child: Text(
'Fatal Error: ${snapshot.error}',