Skip to content

Commit cc3843f

Browse files
committed
docs(angular): update taking photos pages
1 parent c0d4ea8 commit cc3843f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/angular/your-first-app/2-taking-photos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class PhotoService {
5757
}
5858
```
5959

60-
Notice the magic here: there's no platform-specific code (web, iOS, or Android)! The Capacitor Camera plugin abstracts that away for us, leaving just one method call - `getPhoto()` - that will open up the device's camera and allow us to take photos.
60+
Notice the magic here: there's no platform-specific code (web, iOS, or Android)! The Capacitor Camera plugin abstracts that away for us, leaving just one method call - `Camera.getPhoto()` - that will open up the device's camera and allow us to take photos.
6161

6262
Next, in `tab2.page.ts`, import the `PhotoService` class and add a method to call its `addNewToGallery` method.
6363

versioned_docs/version-v7/angular/your-first-app/2-taking-photos.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export class PhotoService {
5757
}
5858
```
5959

60-
Notice the magic here: there's no platform-specific code (web, iOS, or Android)! The Capacitor Camera plugin abstracts that away for us, leaving just one method call - `getPhoto()` - that will open up the device's camera and allow us to take photos.
60+
Notice the magic here: there's no platform-specific code (web, iOS, or Android)! The Capacitor Camera plugin abstracts that away for us, leaving just one method call - `Camera.getPhoto()` - that will open up the device's camera and allow us to take photos.
6161

6262
Next, in `tab2.page.ts`, import the `PhotoService` class and add a method to call its `addNewToGallery` method.
6363

0 commit comments

Comments
 (0)