Revert "feat: Swipe gestures on mobile are now enabled by default and have been improved. You can disable them from Preferences > General > Labs (#2319)"
This reverts commit 6d326e2db4.
This commit is contained in:
@@ -12,9 +12,6 @@ export class PhotoRecorder {
|
||||
constructor() {}
|
||||
|
||||
public static async isSupported(): Promise<boolean> {
|
||||
if (!navigator.mediaDevices) {
|
||||
return false
|
||||
}
|
||||
const devices = await navigator.mediaDevices.enumerateDevices()
|
||||
const hasCamera = devices.some((device) => device.kind === 'videoinput')
|
||||
return hasCamera
|
||||
|
||||
Reference in New Issue
Block a user