aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/main/StatusCard.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/modern/src/main/StatusCard.js b/modern/src/main/StatusCard.js
index 852b7cc6..52cf9d48 100644
--- a/modern/src/main/StatusCard.js
+++ b/modern/src/main/StatusCard.js
@@ -212,30 +212,35 @@ const StatusCard = ({ deviceId, onClose }) => {
<IconButton
color="secondary"
onClick={(e) => setAnchorEl(e.currentTarget)}
+ onTouchStart={(e) => setAnchorEl(e.currentTarget)}
disabled={!position}
>
<PendingIcon />
</IconButton>
<IconButton
onClick={() => navigate('/replay')}
+ onTouchStart={() => navigate('/replay')}
disabled={!position}
>
<ReplayIcon />
</IconButton>
<IconButton
onClick={() => navigate(`/settings/command-send/${deviceId}`)}
+ onTouchStart={() => navigate(`/settings/command-send/${deviceId}`)}
disabled={readonly}
>
<PublishIcon />
</IconButton>
<IconButton
onClick={() => navigate(`/settings/device/${deviceId}`)}
+ onTouchStart={() => navigate(`/settings/device/${deviceId}`)}
disabled={deviceReadonly}
>
<EditIcon />
</IconButton>
<IconButton
onClick={() => setRemoving(true)}
+ onTouchStart={() => setRemoving(true)}
disabled={deviceReadonly}
className={classes.negative}
>