mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
fix back button in stocks app by calling super.didMount()
TBR=abarth Review URL: https://codereview.chromium.org/1189113004.
This commit is contained in:
parent
dbb876b22b
commit
7c438ac2fd
@ -27,6 +27,7 @@ class StocksApp extends App {
|
||||
}
|
||||
|
||||
void didMount() {
|
||||
super.didMount();
|
||||
new StockDataFetcher((StockData data) {
|
||||
setState(() {
|
||||
data.appendTo(_stocks);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user