diff --git a/lib/map/map_screen.dart b/lib/map/map_screen.dart index d971737..1f9fe9a 100644 --- a/lib/map/map_screen.dart +++ b/lib/map/map_screen.dart @@ -16,7 +16,6 @@ import '../instruments_data_source.dart'; import '../over_cities_screen.dart'; import '../navigation_data_source.dart'; import '../navigation_info.dart'; -import '../settings_screen.dart'; class MapScreen extends StatefulWidget { @override @@ -37,7 +36,7 @@ class _MapScreenState extends State { Wakelock.enable(); _instrumentsDataSource = - InstrumentsDataSource(qnh: 1022.0, surfaceAltitudeInM: 104); + InstrumentsDataSource(qnh: 1013.25, surfaceAltitudeInM: 0); _routeManager = RouteManager(instrumentsDataSource: _instrumentsDataSource); @@ -155,17 +154,6 @@ class _MapScreenState extends State { } }, ), - IconButton( - icon: Icon(Icons.settings, color: Colors.white), - tooltip: 'Settings', - color: _navigationDataSource != null ? Colors.green : null, - onPressed: () { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => SettingsScreen())); - }, - ) ], ), if (_navigationDataSource != null) diff --git a/lib/settings_screen.dart b/lib/settings_screen.dart deleted file mode 100644 index b64ff98..0000000 --- a/lib/settings_screen.dart +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:flutter/material.dart'; - -class SettingsScreen extends StatefulWidget { - @override - _SettingsScreenState createState() => _SettingsScreenState(); -} - -class _SettingsScreenState extends State { - @override - Widget build(BuildContext context) { - return Scaffold( - appBar: AppBar(title: Text('Settings')), - ); - } -}