fix(ui): Add background for dialogue pop ups and move them to root navigator

pull/233/head
NaiJi ✨ 2023-07-10 09:39:57 -03:00
parent aa5327df6e
commit bc6b08d621
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),