mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
d2b97e251e
* display live share warning only when geolocation is happening Signed-off-by: Kerry Archibald <kerrya@element.io> * kill beacons when geolocation is unavailable or permissions denied Signed-off-by: Kerry Archibald <kerrya@element.io> * polish and comments Signed-off-by: Kerry Archibald <kerrya@element.io>
26 lines
713 B
Text
26 lines
713 B
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders correctly when minimized 1`] = `
|
|
<LeftPanelLiveShareWarning
|
|
isMinimized={true}
|
|
>
|
|
<div
|
|
className="mx_LeftPanelLiveShareWarning mx_LeftPanelLiveShareWarning__minimized"
|
|
title="You are sharing your live location"
|
|
>
|
|
<div
|
|
height={10}
|
|
/>
|
|
</div>
|
|
</LeftPanelLiveShareWarning>
|
|
`;
|
|
|
|
exports[`<LeftPanelLiveShareWarning /> when user has live location monitor renders correctly when not minimized 1`] = `
|
|
<LeftPanelLiveShareWarning>
|
|
<div
|
|
className="mx_LeftPanelLiveShareWarning"
|
|
>
|
|
You are sharing your live location
|
|
</div>
|
|
</LeftPanelLiveShareWarning>
|
|
`;
|