Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Jun 13, 2024
1 parent 48d9a8b commit f45dde8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class LocationComponent extends BaseMapComponent {
this.lastSpeedTime = null;
this.clearLocationFeatureCollection();

this.store.select((state: ApplicationState) => state.inMemoryState.distance).pipe(takeUntilDestroyed()).subscribe(distance => {;
this.store.select((state: ApplicationState) => state.inMemoryState.distance).pipe(takeUntilDestroyed()).subscribe(distance => {
this.showDistance = distance;
this.updateDistanceFeatureCollection();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class RoutesComponent extends BaseMapComponent implements AfterViewInit {
this.routes = routes;
this.setInteractionAccordingToState();
this.buildFeatureCollections();
};
}

private buildFeatureCollections() {
let features = [] as GeoJSON.Feature<GeoJSON.LineString | GeoJSON.Point>[];
Expand Down
6 changes: 2 additions & 4 deletions IsraelHiking.Web/src/application/services/purchase.service.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
import { Injectable } from "@angular/core";
import { Observable } from "rxjs";
import { Store, Select } from "@ngxs/store";
import { Store } from "@ngxs/store";
import "cordova-plugin-purchase";
import type { Immutable } from "immer";

import { RunningContextService } from "./running-context.service";
import { LoggingService } from "./logging.service";
import { OfflineFilesDownloadService } from "./offline-files-download.service";
import { SetOfflineAvailableAction } from "../reducers/offline.reducer";
import type { ApplicationState, UserInfo } from "../models/models";
import type { ApplicationState } from "../models/models";

const OFFLINE_MAPS_SUBSCRIPTION = "offline_map";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Injectable } from "@angular/core";
import { Observable } from "rxjs";
import { Store, Select } from "@ngxs/store";
import { Store } from "@ngxs/store";
import type { Immutable } from "immer";

import { LoggingService } from "./logging.service";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Store } from "@ngxs/store";
import { RunningContextService } from "./running-context.service";
import { LoggingService } from "./logging.service";
import { ToggleAddRecordingPoiAction } from "../reducers/recorded-route.reducer";
import type { ApplicationState, BatteryOptimizationType } from "../models/models";
import type { ApplicationState } from "../models/models";

@Injectable()
export class ScreenService {
Expand Down

0 comments on commit f45dde8

Please sign in to comment.