mirror of
https://github.com/revoltchat/revite.git
synced 2025-01-13 07:51:27 -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 { RelationshipStatus } from "revolt-api/types/Users";
|
||||||
import styled, { css } from "styled-components";
|
import styled, { css } from "styled-components";
|
||||||
|
|
||||||
|
import { Text } from "preact-i18n";
|
||||||
|
|
||||||
import { attachContextMenu } from "preact-context-menu";
|
import { attachContextMenu } from "preact-context-menu";
|
||||||
|
|
||||||
import ConditionalLink from "../../../lib/ConditionalLink";
|
import ConditionalLink from "../../../lib/ConditionalLink";
|
||||||
|
@ -320,9 +322,13 @@ export const ServerListSidebar = observer(({ unreads, lastOpened }: Props) => {
|
||||||
{!isTouchscreenDevice && (
|
{!isTouchscreenDevice && (
|
||||||
<SettingsButton>
|
<SettingsButton>
|
||||||
<Link to="/settings">
|
<Link to="/settings">
|
||||||
<IconButton>
|
<Tooltip
|
||||||
<Cog size={32} strokeWidth="0.5" />
|
content={<Text id="app.settings.title" />}
|
||||||
</IconButton>
|
placement="right">
|
||||||
|
<IconButton>
|
||||||
|
<Cog size={32} strokeWidth="0.5" />
|
||||||
|
</IconButton>
|
||||||
|
</Tooltip>
|
||||||
</Link>
|
</Link>
|
||||||
</SettingsButton>
|
</SettingsButton>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue