We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0b04703 + d297224 commit c12cdd5Copy full SHA for c12cdd5
src/components/camera/camera.tsx
@@ -137,7 +137,7 @@ export class CameraPWA {
137
async initPhotoCapabilities(imageCapture: any) {
138
const c = await imageCapture.getPhotoCapabilities();
139
140
- if (c.fillLightMode.length > 1) {
+ if (c.fillLightMode && c.fillLightMode.length > 1) {
141
this.flashModes = c.fillLightMode.map(m => m);
142
143
// Try to recall the current flash mode
0 commit comments