chore: Merge pull request 'fix(ui): Add background for dialogue pop ups and move them to root navigator' (#233) from backups-testing into master
continuous-integration/drone/push Build is passing Details

Reviewed-on: #233
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
pull/234/head
NaiJi ✨ 2023-07-12 14:23:50 +03:00
commit e38a322e61
2 changed files with 2 additions and 4 deletions

View File

@ -131,8 +131,6 @@ class MainScreenNavigationDrawer extends StatelessWidget {
width: 296,
child: LayoutBuilder(
builder: (final context, final constraints) => NavigationDrawer(
// backgroundColor: Theme.of(context).colorScheme.surfaceVariant,
// surfaceTintColor: Colors.transparent,
key: const Key('PrimaryNavigationDrawer'),
selectedIndex: activeIndex,
onDestinationSelected: (final index) {

View File

@ -50,7 +50,7 @@ class UserDetailsPage extends StatelessWidget {
showModalBottomSheet(
context: context,
isScrollControlled: true,
backgroundColor: Colors.transparent,
useRootNavigator: true,
builder: (final BuildContext context) => Padding(
padding: MediaQuery.of(context).viewInsets,
child: ResetPassword(user: user),
@ -178,7 +178,7 @@ class _SshKeysCard extends StatelessWidget {
showModalBottomSheet<void>(
context: context,
isScrollControlled: true,
backgroundColor: Colors.transparent,
useRootNavigator: true,
builder: (final BuildContext context) => Padding(
padding: MediaQuery.of(context).viewInsets,
child: NewSshKey(user),