chore: Follow up create group

This commit is contained in:
krille-chan 2023-11-19 14:29:04 +01:00
parent 358e66e612
commit 9c6db3de42
No known key found for this signature in database
2 changed files with 9 additions and 6 deletions

View file

@ -42,11 +42,14 @@ class NewGroupView extends StatelessWidget {
radius: Avatar.defaultSize / 2,
child: avatar == null
? const Icon(Icons.camera_alt_outlined)
: Image.memory(
avatar,
width: Avatar.defaultSize,
height: Avatar.defaultSize,
fit: BoxFit.cover,
: ClipRRect(
borderRadius: BorderRadius.circular(90),
child: Image.memory(
avatar,
width: Avatar.defaultSize,
height: Avatar.defaultSize,
fit: BoxFit.cover,
),
),
),
),

View file

@ -29,7 +29,7 @@ class NewPrivateChatView extends StatelessWidget {
min(MediaQuery.of(context).size.width - 16, 256).toDouble();
return Scaffold(
appBar: AppBar(
scrolledUnderElevation: Theme.of(context).appBarTheme.elevation,
scrolledUnderElevation: 0,
leading: const Center(child: BackButton()),
title: Text(L10n.of(context)!.newChat),
backgroundColor: Theme.of(context).scaffoldBackgroundColor,