From 6095f04bd0cdf867d20866053b3ee958daa3f642 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Tinkl?= Date: Tue, 18 Feb 2025 09:26:05 +0100 Subject: [PATCH] fix(CommunityColumnView): fix unwanted space after closing banners - the banners should not leave empty space after closing them --- ui/app/AppLayouts/Communities/views/CommunityColumnView.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Communities/views/CommunityColumnView.qml b/ui/app/AppLayouts/Communities/views/CommunityColumnView.qml index 913239a5e1..fadc10cc4a 100644 --- a/ui/app/AppLayouts/Communities/views/CommunityColumnView.qml +++ b/ui/app/AppLayouts/Communities/views/CommunityColumnView.qml @@ -405,7 +405,7 @@ Item { (!localAccountSensitiveSettings.hiddenCommunityWelcomeBanners || !localAccountSensitiveSettings.hiddenCommunityWelcomeBanners.includes(communityData.id)) width: parent.width - height: item.height + height: !!item ? item.height : 0 sourceComponent: Component { WelcomeBannerPanel { activeCommunity: communityData @@ -421,7 +421,7 @@ Item { (!localAccountSensitiveSettings.hiddenCommunityChannelAndCategoriesBanners || !localAccountSensitiveSettings.hiddenCommunityChannelAndCategoriesBanners.includes(communityData.id)) width: parent.width - height: item.height + height: !!item ? item.height : 0 sourceComponent: Component { ChannelsAndCategoriesBannerPanel { id: channelsAndCategoriesBanner