Skip to content

Commit 70de667

Browse files
committed
docs(angular): update imports
1 parent 0d6b604 commit 70de667

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

docs/angular/your-first-app/3-saving-photos.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ We can use this new method immediately in `addNewToGallery()`.
4848
```ts
4949
import { Injectable } from '@angular/core';
5050
import { Camera, CameraResultType, CameraSource, Photo } from '@capacitor/camera';
51-
import { Filesystem, Directory } from '@capacitor/filesystem';
52-
import { Preferences } from '@capacitor/preferences';
5351

5452
@Injectable({
5553
providedIn: 'root',

docs/angular/your-first-app/4-loading-photos.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ Next, at the end of the `addNewToGallery()` method, add a call to `Preferences.s
3636
import { Injectable } from '@angular/core';
3737
import { Camera, CameraResultType, CameraSource } from '@capacitor/camera';
3838
import type { Photo } from '@capacitor/camera';
39-
// CHANGE: Add import
4039
import { Filesystem, Directory } from '@capacitor/filesystem';
40+
// CHANGE: Add import
41+
import { Preferences } from '@capacitor/preferences';
4142

4243
@Injectable({
4344
providedIn: 'root',

versioned_docs/version-v7/angular/your-first-app/3-saving-photos.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ We can use this new method immediately in `addNewToGallery()`.
4848
```ts
4949
import { Injectable } from '@angular/core';
5050
import { Camera, CameraResultType, CameraSource, Photo } from '@capacitor/camera';
51-
import { Filesystem, Directory } from '@capacitor/filesystem';
52-
import { Preferences } from '@capacitor/preferences';
5351

5452
@Injectable({
5553
providedIn: 'root',

versioned_docs/version-v7/angular/your-first-app/4-loading-photos.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ Next, at the end of the `addNewToGallery()` method, add a call to `Preferences.s
3636
import { Injectable } from '@angular/core';
3737
import { Camera, CameraResultType, CameraSource } from '@capacitor/camera';
3838
import type { Photo } from '@capacitor/camera';
39-
// CHANGE: Add import
4039
import { Filesystem, Directory } from '@capacitor/filesystem';
40+
// CHANGE: Add import
41+
import { Preferences } from '@capacitor/preferences';
4142

4243
@Injectable({
4344
providedIn: 'root',

0 commit comments

Comments
 (0)