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

update: fetch relation, swap empty initialisation

parent bbffbf38
No related branches found
No related tags found
1 merge request!11Clhp map
......@@ -43,14 +43,14 @@ Future<void> initialiseState() async {
// If measurements were fetched successfully, request relation
if (serverConnection) {
relationFuture = fetchRelation();
} /*else { // Read last saved data
} else { // Read last saved data
relationFuture = loadSavedRelation();
}*/
}
initSearchOptions();
//selectedRelation = await relationFuture;
selectedRelation = Uint8List(0); // NB update once fixed
selectedRelation = await relationFuture; // NB update once fixed
selectedMarkerList = await markerListFuture;
}
} catch (e) {
......
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