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

Commit 52bc99e

Browse files
authored
Merge pull request #296 from IIzzaya/cupertinosample
[Cupertino] Gallery bug fix
2 parents 973103b + 45d023e commit 52bc99e

File tree

2 files changed

+128
-133
lines changed

2 files changed

+128
-133
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)