chore: Follow up remove hero animation

This commit is contained in:
Krille 2023-02-05 10:09:31 +01:00
parent 9cfffdfa66
commit d3240fd261
2 changed files with 11 additions and 17 deletions

View File

@ -213,8 +213,6 @@ 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 ??
@ -224,7 +222,6 @@ class ClientChooserButton extends StatelessWidget {
),
),
),
),
],
),
);

View File

@ -66,8 +66,6 @@ class SettingsView extends StatelessWidget {
borderRadius: BorderRadius.circular(
Avatar.defaultSize * 2.5),
),
child: Hero(
tag: 'profilesettings',
child: Avatar(
mxContent: profile?.avatarUrl,
name: displayname,
@ -75,7 +73,6 @@ class SettingsView extends StatelessWidget {
fontSize: 18 * 2.5,
),
),
),
if (profile != null)
Positioned(
bottom: 0,