mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-11 13:45:25 +03:00
Show full row of items on tablet
This commit is contained in:
parent
f208651b32
commit
d9445e4594
@ -36,6 +36,7 @@ import {
|
|||||||
isIOS,
|
isIOS,
|
||||||
isMobile,
|
isMobile,
|
||||||
isSafari,
|
isSafari,
|
||||||
|
isTablet,
|
||||||
useMobileOrientation,
|
useMobileOrientation,
|
||||||
} from "react-device-detect";
|
} from "react-device-detect";
|
||||||
import { BsThreeDotsVertical } from "react-icons/bs";
|
import { BsThreeDotsVertical } from "react-icons/bs";
|
||||||
@ -622,7 +623,7 @@ function FrigateCameraFeatures({
|
|||||||
useAutotrackingState(camera);
|
useAutotrackingState(camera);
|
||||||
|
|
||||||
// desktop shows icons part of row
|
// desktop shows icons part of row
|
||||||
if (isDesktop) {
|
if (isDesktop || isTablet) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<CameraFeatureToggle
|
<CameraFeatureToggle
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user