Fix: Don't lose focus on send.

Sidebar: Show home button on mobile.
This commit is contained in:
Paul
2021-07-10 11:21:05 +01:00
parent 586b153eb8
commit 6a2dd50236
3 changed files with 28 additions and 20 deletions

View File

@@ -82,16 +82,16 @@ function HomeSidebar(props: Props) {
<GenericSidebarBase padding>
<ConnectionStatus />
<GenericSidebarList>
<ConditionalLink active={pathname === "/"} to="/">
<ButtonItem active={pathname === "/"}>
<Home size={20} />
<span>
<Text id="app.navigation.tabs.home" />
</span>
</ButtonItem>
</ConditionalLink>
{!isTouchscreenDevice && (
<>
<ConditionalLink active={pathname === "/"} to="/">
<ButtonItem active={pathname === "/"}>
<Home size={20} />
<span>
<Text id="app.navigation.tabs.home" />
</span>
</ButtonItem>
</ConditionalLink>
<ConditionalLink
active={pathname === "/friends"}
to="/friends">