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:
Aman Harwara
2023-05-01 21:21:00 +05:30
parent 30c160f4b8
commit 880cceecd5
10 changed files with 117 additions and 177 deletions

View File

@@ -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