Remove the ability to hide the channel sidebar on mobile

This commit is contained in:
brecert
2021-09-07 10:57:40 -04:00
parent 3f01dd07ac
commit 0e935234e2
3 changed files with 21 additions and 8 deletions

View File

@@ -89,6 +89,10 @@ const TextChannel = observer(({ channel }: { channel: ChannelI }) => {
}
}}
toggleChannelSidebar={() => {
if (isTouchscreenDevice) {
return
}
setChannels(!showChannels);
if (showChannels) {