From 91c0f4ae30487bc283b035cc587e70cb5cf3e7e8 Mon Sep 17 00:00:00 2001 From: Shankari Date: Wed, 2 Nov 2022 18:35:30 -0700 Subject: [PATCH] Remove loading overlay while loading trajectories Since we have already downloaded the trips and will be downloading the trajectories in the background --- www/js/diary/services.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/www/js/diary/services.js b/www/js/diary/services.js index a7665188e..9741e887d 100644 --- a/www/js/diary/services.js +++ b/www/js/diary/services.js @@ -761,10 +761,6 @@ angular.module('emission.main.diary.services', ['emission.plugin.logger', Logger.log("About to pull location data for range " + moment.unix(trip.start_ts).toString() + " -> " + moment.unix(trip.end_ts).toString()); - // TODO: change this to recreated location - $ionicLoading.show({ - template: $translate.instant('service.reading-server') - }); const fillPromises = [ CommHelper.getRawEntries(["analysis/recreated_location"], trip.start_ts, trip.end_ts, "data.ts", 100) @@ -783,11 +779,9 @@ angular.module('emission.main.diary.services', ['emission.plugin.logger', features: features, properties: { } } - $ionicLoading.hide(); return trip_gj; }).catch((err) => { Logger.displayError("while filling details", err); - $ionicLoading.hide(); }); }