mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 19:48:52 +00:00
fix(CommunityColumnView): fix unwanted space after closing banners
- the banners should not leave empty space after closing them
This commit is contained in:
parent
af3ee0a1c0
commit
6095f04bd0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user