mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-01-08 00:51:20 +00:00
fix(ui): Add background for dialogue pop ups and move them to root navigator
This commit is contained in:
parent
aa5327df6e
commit
bc6b08d621
|
@ -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) {
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue