Merge pull request #532 from pangeachat/deheroify-avatar
Deheroify avatar
This commit is contained in:
commit
e59678648d
1 changed files with 14 additions and 11 deletions
|
|
@ -138,17 +138,20 @@ class ChatDetailsView extends StatelessWidget {
|
|||
Avatar.defaultSize * 2.5,
|
||||
),
|
||||
),
|
||||
child: Hero(
|
||||
tag: controller.widget
|
||||
.embeddedCloseButton !=
|
||||
null
|
||||
? 'embedded_content_banner'
|
||||
: 'content_banner',
|
||||
child: Avatar(
|
||||
mxContent: room.avatar,
|
||||
name: displayname,
|
||||
size: Avatar.defaultSize * 2.5,
|
||||
),
|
||||
// #Pangea
|
||||
// Hero animation is causing weird visual glitch
|
||||
// Probably not worth keeping
|
||||
// child: Hero(
|
||||
// tag: controller.widget
|
||||
// .embeddedCloseButton !=
|
||||
// null
|
||||
// ? 'embedded_content_banner'
|
||||
// : 'content_banner',
|
||||
// Pangea#
|
||||
child: Avatar(
|
||||
mxContent: room.avatar,
|
||||
name: displayname,
|
||||
size: Avatar.defaultSize * 2.5,
|
||||
),
|
||||
),
|
||||
if (!room.isDirectChat &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue