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,8 +213,6 @@ class ClientChooserButton extends StatelessWidget {
|
||||||
child: Material(
|
child: Material(
|
||||||
color: Colors.transparent,
|
color: Colors.transparent,
|
||||||
borderRadius: BorderRadius.circular(99),
|
borderRadius: BorderRadius.circular(99),
|
||||||
child: Hero(
|
|
||||||
tag: 'profilesettings',
|
|
||||||
child: Avatar(
|
child: Avatar(
|
||||||
mxContent: snapshot.data?.avatarUrl,
|
mxContent: snapshot.data?.avatarUrl,
|
||||||
name: snapshot.data?.displayName ??
|
name: snapshot.data?.displayName ??
|
||||||
|
|
@ -224,7 +222,6 @@ class ClientChooserButton extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -66,8 +66,6 @@ class SettingsView extends StatelessWidget {
|
||||||
borderRadius: BorderRadius.circular(
|
borderRadius: BorderRadius.circular(
|
||||||
Avatar.defaultSize * 2.5),
|
Avatar.defaultSize * 2.5),
|
||||||
),
|
),
|
||||||
child: Hero(
|
|
||||||
tag: 'profilesettings',
|
|
||||||
child: Avatar(
|
child: Avatar(
|
||||||
mxContent: profile?.avatarUrl,
|
mxContent: profile?.avatarUrl,
|
||||||
name: displayname,
|
name: displayname,
|
||||||
|
|
@ -75,7 +73,6 @@ class SettingsView extends StatelessWidget {
|
||||||
fontSize: 18 * 2.5,
|
fontSize: 18 * 2.5,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
if (profile != null)
|
if (profile != null)
|
||||||
Positioned(
|
Positioned(
|
||||||
bottom: 0,
|
bottom: 0,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue