Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit c1c8b0b

Browse files
committed
[Cupertino] Hero fix
1 parent bf07a49 commit c1c8b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Runtime/widgets/heroes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public _HeroFlightManifest(
178178
HeroFlightShuttleBuilder shuttleBuilder,
179179
bool isUserGestureTransition
180180
) {
181-
D.assert(fromHero.widget.tag.ToString() == toHero.widget.tag.ToString());
181+
D.assert(fromHero.widget.tag.Equals(toHero.widget.tag));
182182
this.type = type;
183183
this.overlay = overlay;
184184
this.navigatorRect = navigatorRect;

0 commit comments

Comments
 (0)