chore: Follow up design changes

pull/474/head
krille-chan 2 years ago
parent c74242118b
commit b27af74918
No known key found for this signature in database

@ -21,6 +21,7 @@ class ChatAppBarTitle extends StatelessWidget {
} }
final directChatMatrixID = room.directChatMatrixID; final directChatMatrixID = room.directChatMatrixID;
return InkWell( return InkWell(
hoverColor: Colors.transparent,
splashColor: Colors.transparent, splashColor: Colors.transparent,
highlightColor: Colors.transparent, highlightColor: Colors.transparent,
onTap: directChatMatrixID != null onTap: directChatMatrixID != null

@ -98,11 +98,14 @@ class ChatDetailsView extends StatelessWidget {
Avatar.defaultSize * 2.5, Avatar.defaultSize * 2.5,
), ),
), ),
child: Avatar( child: Hero(
mxContent: room.avatar, tag: 'content_banner',
name: displayname, child: Avatar(
size: Avatar.defaultSize * 2.5, mxContent: room.avatar,
fontSize: 18 * 2.5, name: displayname,
size: Avatar.defaultSize * 2.5,
fontSize: 18 * 2.5,
),
), ),
), ),
if (room.canChangeStateEvent( if (room.canChangeStateEvent(
@ -212,7 +215,7 @@ class ChatDetailsView extends StatelessWidget {
padding: const EdgeInsets.symmetric( padding: const EdgeInsets.symmetric(
horizontal: 16.0, horizontal: 16.0,
), ),
child: Linkify( child: SelectableLinkify(
text: room.topic.isEmpty text: room.topic.isEmpty
? L10n.of(context)!.noGroupDescriptionYet ? L10n.of(context)!.noGroupDescriptionYet
: room.topic, : room.topic,

Loading…
Cancel
Save