Skip to content

Commit

Permalink
#2085 - Show spinner when comming back from background and location w…
Browse files Browse the repository at this point in the history
…asn't received.
  • Loading branch information
HarelM committed Dec 18, 2024
1 parent 5e76e29 commit bce7b27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class GeoLocationService {
this.loggingService.debug(`[GeoLocation] Now in ${this.isBackground ? "back" : "fore"}ground`);
if (state.isActive) {
if (!this.store.selectSnapshot((s: ApplicationState) => s.recordedRouteState).isRecording) {
this.startBackgroundGeolocation();
this.startWatching();
}
this.ngZone.run(async () => {
await this.onLocationUpdate();
Expand Down

0 comments on commit bce7b27

Please sign in to comment.