Fix server list bottom sheet on tablet (#8094) (#8096)

(cherry picked from commit ea8adb5167)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
This commit is contained in:
Mattermost Build 2024-07-16 21:52:53 +03:00 committed by GitHub
parent e114265058
commit 1bb7242d65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,7 +135,7 @@ const Servers = React.forwardRef<ServersRef>((_, ref) => {
bottomSheet({
closeButtonId,
renderContent,
footerComponent: AddServerButton,
footerComponent: isTablet ? undefined : AddServerButton,
snapPoints,
theme,
title: intl.formatMessage({id: 'your.servers', defaultMessage: 'Your servers'}),