make bars transparent

This commit is contained in:
Benjamin Halko 2023-09-27 12:32:19 -07:00
parent 72ae132fcd
commit 96736afb94
No known key found for this signature in database
GPG Key ID: 790C70040EB331A0

View File

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_i18n/flutter_i18n.dart';
import 'package:revanced_manager/ui/views/export_settings/export_settings_viewmodel.dart';
import 'package:revanced_manager/ui/widgets/shared/custom_material_button.dart';
@ -10,6 +11,14 @@ class ExportSettingsView extends StatelessWidget {
@override
Widget build(BuildContext context) {
SystemChrome.setSystemUIOverlayStyle(
SystemUiOverlayStyle(
systemNavigationBarColor: Colors.black.withOpacity(0.002),
statusBarColor: Colors.black.withOpacity(0.002),
),
);
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
return AlertDialog(
title: I18nText('exportSettingsView.widgetTitle'),
content: I18nText('exportSettingsView.description'),