We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1def96d commit 0e5d410Copy full SHA for 0e5d410
2 files changed
src/app/services/photo.service.ts
@@ -16,7 +16,7 @@ export class PhotoService {
16
this.platform = platform;
17
}
18
19
- async loadSaved() {
+ public async loadSaved() {
20
// Retrieve cached photo array data
21
const photos = await Storage.get({ key: this.PHOTO_STORAGE });
22
this.photos = JSON.parse(photos.value) || [];
src/app/tab2/tab2.page.ts
@@ -15,7 +15,7 @@ export class Tab2Page {
15
this.photoService.loadSaved();
- async showActionSheet(photo, position) {
+ public async showActionSheet(photo, position) {
const actionSheet = await this.actionSheetController.create({
header: 'Photos',
buttons: [{
0 commit comments