Skip to content

Commit

Permalink
chore: code tidying
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke committed Jun 27, 2024
1 parent 00a33f1 commit e2f5d5f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export class PhotoInputComponent {
@ViewChild('fileInput') fileInput: ElementRef;
photos: Photo[] = [];

public isWebPlatform = Capacitor.getPlatform() === 'web';

constructor(private photoService: PhotoService) {}

async takeOrChoosePicture() {
Expand Down

0 comments on commit e2f5d5f

Please sign in to comment.