Fire notification map

This commit is contained in:
Vicente J. Ruiz Jurado 2018-07-26 22:32:30 +02:00
parent b7468de0d1
commit 8926fc20d9
12 changed files with 99 additions and 29 deletions

View file

@ -15,7 +15,7 @@ import 'mainDrawer.dart';
import 'models/appState.dart';
import 'placesAutocompleteUtils.dart';
import 'redux/actions.dart';
import 'yourLocationMap.dart';
import 'genericMap.dart';
@immutable
class _ViewModel {
@ -225,7 +225,7 @@ class _ActiveFiresPageState extends State<ActiveFiresPage> {
Store<AppState> store, YourLocation loc, BuildContext context) {
store.dispatch(new ShowYourLocationMapAction(loc));
Navigator.push(context,
new MaterialPageRoute(builder: (context) => new YourLocationMap()));
new MaterialPageRoute(builder: (context) => new genericMap()));
}
void onAddYourLocation(AddYourLocationFunction onAdd) {