feat: add update notification component with download and install functionality
This commit is contained in:
@@ -5,6 +5,7 @@ import { MatrixClient, RoomEvent, ClientEvent, MatrixEvent, Room, IPushRules } f
|
||||
import { useAtomValue } from 'jotai';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { WindowControls } from './WindowControls';
|
||||
import { UpdateNotification } from '../update-notification';
|
||||
import * as css from './TitleBar.css';
|
||||
import { getUnreadInfos, getOrphanParents, guessPerfectParent, getAllParents } from '../../utils/room';
|
||||
import { getCanonicalAliasOrRoomId, getMxIdLocalPart } from '../../utils/matrix';
|
||||
@@ -615,6 +616,7 @@ export function TitleBar({ mx, children }: TitleBarProps) {
|
||||
))}
|
||||
{children}
|
||||
</Box>
|
||||
<UpdateNotification />
|
||||
<WindowControls />
|
||||
</Box>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user