Your locations persist
This commit is contained in:
parent
ce2b65f1e0
commit
7fbe5b971d
10 changed files with 140 additions and 182 deletions
|
|
@ -4,7 +4,7 @@ import 'colors.dart';
|
|||
import 'sandbox.dart';
|
||||
import 'introPage.dart';
|
||||
import 'activeFires.dart';
|
||||
import 'placesAutocompleteWidget.dart';
|
||||
import 'globals.dart' as globals;
|
||||
|
||||
class MainDrawer extends Drawer {
|
||||
MainDrawer(BuildContext context, {key})
|
||||
|
|
@ -29,7 +29,7 @@ Widget mainDrawer(BuildContext context) {
|
|||
height: 80.0,
|
||||
),
|
||||
const SizedBox(height: 20.0),
|
||||
new Text('seedees',
|
||||
new Text(globals.appName,
|
||||
style: new TextStyle(
|
||||
fontSize: 24.0,
|
||||
color: Colors.white,
|
||||
|
|
@ -72,14 +72,6 @@ Widget mainDrawer(BuildContext context) {
|
|||
Navigator.pushNamed(context, '/subscriptions');
|
||||
},
|
||||
),
|
||||
new ListTile(
|
||||
leading: const Icon(Icons.location_on),
|
||||
title: new Text('Places'),
|
||||
onTap: () {
|
||||
// Then close the drawer
|
||||
Navigator.pushNamed(context, PlacesAutocompleteWidget.routeName);
|
||||
},
|
||||
),
|
||||
new Divider(),
|
||||
new ListTile(
|
||||
leading: const Icon(Icons.bug_report),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue