diff --git a/lib/pages/new_group/new_group_view.dart b/lib/pages/new_group/new_group_view.dart index 02b7a238..f68210d0 100644 --- a/lib/pages/new_group/new_group_view.dart +++ b/lib/pages/new_group/new_group_view.dart @@ -14,9 +14,7 @@ class NewGroupView extends StatelessWidget { Widget build(BuildContext context) { return Scaffold( appBar: AppBar( - leading: const BackButton(), title: Text(L10n.of(context).createNewGroup), - elevation: 0, ), body: MaxWidthBody( child: Column( diff --git a/lib/pages/new_private_chat/new_private_chat_view.dart b/lib/pages/new_private_chat/new_private_chat_view.dart index 51dd3a63..dc2b7779 100644 --- a/lib/pages/new_private_chat/new_private_chat_view.dart +++ b/lib/pages/new_private_chat/new_private_chat_view.dart @@ -26,7 +26,6 @@ class NewPrivateChatView extends StatelessWidget { leading: const BackButton(), title: Text(L10n.of(context).newChat), backgroundColor: Theme.of(context).scaffoldBackgroundColor, - elevation: 0, actions: [ TextButton( onPressed: () => VRouter.of(context).to('/newgroup'), @@ -38,7 +37,8 @@ class NewPrivateChatView extends StatelessWidget { ], ), body: MaxWidthBody( - child: ListView( + withScrolling: true, + child: Column( children: [ Container( margin: const EdgeInsets.all(_qrCodePadding), @@ -64,15 +64,9 @@ class NewPrivateChatView extends StatelessWidget { ), ), ), - const Divider(), ListTile( subtitle: Text(L10n.of(context).createNewChatExplaination), - trailing: const Padding( - padding: EdgeInsets.all(8.0), - child: Icon(Icons.info_outline_rounded), - ), ), - const Divider(), Padding( padding: const EdgeInsets.all(12), child: Form( diff --git a/lib/pages/new_space/new_space_view.dart b/lib/pages/new_space/new_space_view.dart index 0e9b3d1a..099b5f64 100644 --- a/lib/pages/new_space/new_space_view.dart +++ b/lib/pages/new_space/new_space_view.dart @@ -14,9 +14,7 @@ class NewSpaceView extends StatelessWidget { Widget build(BuildContext context) { return Scaffold( appBar: AppBar( - leading: const BackButton(), title: Text(L10n.of(context).createNewSpace), - elevation: 0, ), body: MaxWidthBody( child: Column(