mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-10 01:03:36 -05:00
Merge pull request #74 from ryanalexander/patch-1
This commit is contained in:
commit
24050a8e05
1 changed files with 9 additions and 3 deletions
|
@ -5,6 +5,8 @@ import { Link, useHistory, useLocation, useParams } from "react-router-dom";
|
|||
import { RelationshipStatus } from "revolt-api/types/Users";
|
||||
import styled, { css } from "styled-components";
|
||||
|
||||
import { Text } from "preact-i18n";
|
||||
|
||||
import { attachContextMenu } from "preact-context-menu";
|
||||
|
||||
import ConditionalLink from "../../../lib/ConditionalLink";
|
||||
|
@ -320,9 +322,13 @@ export const ServerListSidebar = observer(({ unreads, lastOpened }: Props) => {
|
|||
{!isTouchscreenDevice && (
|
||||
<SettingsButton>
|
||||
<Link to="/settings">
|
||||
<Tooltip
|
||||
content={<Text id="app.settings.title" />}
|
||||
placement="right">
|
||||
<IconButton>
|
||||
<Cog size={32} strokeWidth="0.5" />
|
||||
</IconButton>
|
||||
</Tooltip>
|
||||
</Link>
|
||||
</SettingsButton>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue