Skip to content

Commit 0e5d410

Browse files
committed
add public modifiers
1 parent 1def96d commit 0e5d410

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/services/photo.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class PhotoService {
1616
this.platform = platform;
1717
}
1818

19-
async loadSaved() {
19+
public async loadSaved() {
2020
// Retrieve cached photo array data
2121
const photos = await Storage.get({ key: this.PHOTO_STORAGE });
2222
this.photos = JSON.parse(photos.value) || [];

src/app/tab2/tab2.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class Tab2Page {
1515
this.photoService.loadSaved();
1616
}
1717

18-
async showActionSheet(photo, position) {
18+
public async showActionSheet(photo, position) {
1919
const actionSheet = await this.actionSheetController.create({
2020
header: 'Photos',
2121
buttons: [{

0 commit comments

Comments
 (0)