Skip to content
This repository was archived by the owner on Jan 29, 2022. It is now read-only.

Commit cf1ae1c

Browse files
committed
chore(demo): fix picsum url
1 parent 81e2b71 commit cf1ae1c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

demo/src/app/home/home.page.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ViewerModalComponent } from 'ngx-ionic-image-viewer';
55
@Component({
66
selector: 'app-home',
77
templateUrl: 'home.page.html',
8-
styleUrls: ['home.page.scss']
8+
styleUrls: ['home.page.scss'],
99
})
1010
export class HomePage implements OnInit {
1111
prefersDark = false;
@@ -14,15 +14,15 @@ export class HomePage implements OnInit {
1414

1515
imgAvatar = {
1616
id: 237,
17-
src: 'https://i.picsum.photos/id/237/200/200.jpg',
18-
srcHighRes: 'https://i.picsum.photos/id/237/3500/2095.jpg',
19-
author: 'André Spieker'
17+
src: 'https://picsum.photos/id/237/200/200.jpg',
18+
srcHighRes: 'https://picsum.photos/id/237/3500/2095.jpg',
19+
author: 'André Spieker',
2020
};
2121
imgThumbnail = {
2222
id: 1040,
23-
src: 'https://i.picsum.photos/id/1040/200/200.jpg',
24-
srcHighRes: 'https://i.picsum.photos/id/1040/4496/3000.jpg',
25-
author: 'Rachel Davis'
23+
src: 'https://picsum.photos/id/1040/200/200.jpg',
24+
srcHighRes: 'https://picsum.photos/id/1040/4496/3000.jpg',
25+
author: 'Rachel Davis',
2626
};
2727

2828
constructor(public modalController: ModalController) {}
@@ -44,11 +44,11 @@ export class HomePage implements OnInit {
4444
componentProps: {
4545
src: this.imgUrl, // required
4646
title: 'Silhoutte (Programmatic)', // optional
47-
text: 'Photo by Mayur Gala on Unsplash' // optional
47+
text: 'Photo by Mayur Gala on Unsplash', // optional
4848
},
4949
cssClass: 'ion-img-viewer', // required
5050
keyboardClose: true,
51-
showBackdrop: true
51+
showBackdrop: true,
5252
});
5353

5454
return await modal.present();

0 commit comments

Comments
 (0)