diff --git a/apps/picsa-tools/farmer-activity/src/app/components/photo-input/photo-input.component.ts b/apps/picsa-tools/farmer-activity/src/app/components/photo-input/photo-input.component.ts index dc900b1b..9358168e 100644 --- a/apps/picsa-tools/farmer-activity/src/app/components/photo-input/photo-input.component.ts +++ b/apps/picsa-tools/farmer-activity/src/app/components/photo-input/photo-input.component.ts @@ -17,6 +17,8 @@ export class PhotoInputComponent { @ViewChild('fileInput') fileInput: ElementRef; photos: Photo[] = []; + public isWebPlatform = Capacitor.getPlatform() === 'web'; + constructor(private photoService: PhotoService) {} async takeOrChoosePicture() {