Commit f7b36f07 authored by Hans Muller's avatar Hans Muller

Give the StockSymbolView's Hero a Key

parent 8b1dd598
...@@ -25,6 +25,7 @@ class StockSymbolView extends StatelessComponent { ...@@ -25,6 +25,7 @@ class StockSymbolView extends StatelessComponent {
style: Theme.of(context).text.display2 style: Theme.of(context).text.display2
), ),
new Hero( new Hero(
key: new ObjectKey(stock),
tag: StockRowPartKind.arrow, tag: StockRowPartKind.arrow,
turns: 2, turns: 2,
child: new StockArrow(percentChange: stock.percentChange) child: new StockArrow(percentChange: stock.percentChange)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment