mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-30 19:39:22 +00:00
remove mistakenly commited file
This commit is contained in:
@@ -1,16 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2022-2024 New Vector Ltd.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: AGPL-3.0-only
|
|
||||||
Please see LICENSE in the repository root for full details.
|
|
||||||
*/
|
|
||||||
|
|
||||||
import { useMediaQuery } from "./useMediaQuery";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @returns Whether the device is a touchscreen device.
|
|
||||||
*/
|
|
||||||
// Empirically, Chrome on Android can end up not matching (hover: none), but
|
|
||||||
// still matching (pointer: coarse) :/
|
|
||||||
export const useIsTouchscreen = (): boolean =>
|
|
||||||
useMediaQuery("(hover: none) or (pointer: coarse)");
|
|
||||||
Reference in New Issue
Block a user