Commit 94f910d8 authored by Hixie's avatar Hixie

Stocks app used RouteState, now renamed StateRoute

parent be72f333
......@@ -41,8 +41,8 @@ class StockHomeState extends State<StockHome> {
}
void _handleSearchEnd() {
assert(config.navigator.currentRoute is RouteState);
assert((config.navigator.currentRoute as RouteState).owner == this); // TODO(ianh): remove cast once analyzer is cleverer
assert(config.navigator.currentRoute is StateRoute);
assert((config.navigator.currentRoute as StateRoute).owner == this); // TODO(ianh): remove cast once analyzer is cleverer
config.navigator.pop();
setState(() {
_isSearching = false;
......
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