Skip to content
Snippets Groups Projects
Commit 6715b408 authored by Sara Savanovic Djordjevic's avatar Sara Savanovic Djordjevic
Browse files

update: remove bar on icon press

parent 86cbe631
No related branches found
No related tags found
1 merge request!10Clhp map
......@@ -132,6 +132,7 @@ class _DefaultPageState extends State<DefaultPage> {
markerList: markerList,
relation: relation,
serverConnection: serverConnection,
showSearchBar: showBar,
),
],
),
......
......@@ -20,11 +20,13 @@ class MapContainerWidget extends StatefulWidget {
final List<Measurement> markerList;
final Uint8List relation;
final bool serverConnection;
final bool showSearchBar;
const MapContainerWidget({Key? key,
required this.markerList,
required this.relation,
required this.serverConnection,
required this.showSearchBar
}) : super(key: key);
@override
......@@ -90,7 +92,7 @@ class _MapContainerWidgetState extends State<MapContainerWidget> {
return Column(
children: [
const SizedBox(height: contPadding),
if (true) // NB temp always true
if (widget.showSearchBar) // NB temp always true
_SearchBar(),
const SizedBox(height: contPadding),
ClipRRect(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment