Live location sharing: own live beacon status on maximised view (#8374)
* add floating own live sharing eacon status to maximised view Signed-off-by: Kerry Archibald <kerrya@element.io> * add tests for own beacon status Signed-off-by: Kerry Archibald <kerrya@element.io> * stylelint Signed-off-by: Kerry Archibald <kerrya@element.io> * remove huge snapshot Signed-off-by: Kerry Archibald <kerrya@element.io> * remove unused emits from test Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
parent
605fbd3e4e
commit
f2ec465f87
7 changed files with 175 additions and 16 deletions
|
@ -36,6 +36,7 @@ import { Icon as LocationIcon } from '../../../../res/img/element-icons/location
|
|||
import { _t } from '../../../languageHandler';
|
||||
import AccessibleButton from '../elements/AccessibleButton';
|
||||
import DialogSidebar from './DialogSidebar';
|
||||
import DialogOwnBeaconStatus from './DialogOwnBeaconStatus';
|
||||
|
||||
interface IProps extends IDialogProps {
|
||||
roomId: Room['roomId'];
|
||||
|
@ -124,6 +125,7 @@ const BeaconViewDialog: React.FC<IProps> = ({
|
|||
{ _t('View list') }
|
||||
</AccessibleButton>
|
||||
}
|
||||
<DialogOwnBeaconStatus roomId={roomId} />
|
||||
</MatrixClientContext.Provider>
|
||||
</BaseDialog>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue