debugging iOS

This commit is contained in:
zsviczian 2022-03-21 15:18:55 +01:00 committed by GitHub
parent 4dec449516
commit 93bd035d03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -196,6 +196,7 @@ export const ShapesSwitcher = ({
setDeviceType: (obj: Partial<DeviceType>) => void; setDeviceType: (obj: Partial<DeviceType>) => void;
}) => { }) => {
const penDetected = useDeviceType().penDetected; const penDetected = useDeviceType().penDetected;
app.setState({ toastMessage: penDetected ? "penOn" : "penOff" }); //debug iOS
return ( return (
<> <>
{SHAPES.map(({ value, icon, key }, index) => { {SHAPES.map(({ value, icon, key }, index) => {