提交 3d995256 编写于 作者: I Ian Hickson

Merge pull request #1776 from Hixie/stocks-back

Fix Stocks search mode back button.
......@@ -39,13 +39,9 @@ class StockHomeState extends State<StockHome> {
void _handleSearchEnd() {
assert(() {
final StateRoute currentRoute = config.navigator.currentRoute;
assert(currentRoute.owner == this);
return currentRoute.owner == this;
});
config.navigator.pop();
setState(() {
_isSearching = false;
_searchQuery = null;
});
}
void _handleSearchQueryChanged(String query) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册