Skip to content

Commit

Permalink
fix: use desktop message menu trigger on mixed input devices #680
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz committed Jan 21, 2025
1 parent 57a3782 commit cd4e943
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export class MessageComponent
};
areMessageOptionsOpen = false;
canDisplayReadStatus = false;
hasTouchSupport = 'ontouchstart' in window || navigator.maxTouchPoints > 0;
hasTouchSupport = window.matchMedia('(any-hover: none)').matches;
private quotedMessageAttachments: Attachment[] | undefined;
private subscriptions: Subscription[] = [];
private isViewInited = false;
Expand Down

0 comments on commit cd4e943

Please sign in to comment.