mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-17 08:15:09 +00:00
chore: Follow up remove hero animation
This commit is contained in:
parent
6dd44a9f61
commit
da6ac90cf2
2 changed files with 11 additions and 17 deletions
|
@ -213,15 +213,12 @@ class ClientChooserButton extends StatelessWidget {
|
|||
child: Material(
|
||||
color: Colors.transparent,
|
||||
borderRadius: BorderRadius.circular(99),
|
||||
child: Hero(
|
||||
tag: 'profilesettings',
|
||||
child: Avatar(
|
||||
mxContent: snapshot.data?.avatarUrl,
|
||||
name: snapshot.data?.displayName ??
|
||||
matrix.client.userID!.localpart,
|
||||
size: 28,
|
||||
fontSize: 12,
|
||||
),
|
||||
child: Avatar(
|
||||
mxContent: snapshot.data?.avatarUrl,
|
||||
name: snapshot.data?.displayName ??
|
||||
matrix.client.userID!.localpart,
|
||||
size: 28,
|
||||
fontSize: 12,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -66,14 +66,11 @@ class SettingsView extends StatelessWidget {
|
|||
borderRadius: BorderRadius.circular(
|
||||
Avatar.defaultSize * 2.5),
|
||||
),
|
||||
child: Hero(
|
||||
tag: 'profilesettings',
|
||||
child: Avatar(
|
||||
mxContent: profile?.avatarUrl,
|
||||
name: displayname,
|
||||
size: Avatar.defaultSize * 2.5,
|
||||
fontSize: 18 * 2.5,
|
||||
),
|
||||
child: Avatar(
|
||||
mxContent: profile?.avatarUrl,
|
||||
name: displayname,
|
||||
size: Avatar.defaultSize * 2.5,
|
||||
fontSize: 18 * 2.5,
|
||||
),
|
||||
),
|
||||
if (profile != null)
|
||||
|
|
Loading…
Reference in a new issue