From e2f5d5fe6439b167dc70b61175a9572f513af113 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 27 Jun 2024 18:02:37 +0100 Subject: [PATCH] chore: code tidying --- .../src/app/components/photo-input/photo-input.component.ts | 2 ++ 1 file changed, 2 insertions(+) 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() {