mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-23 03:58:49 +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 ||
|
||||||
!localAccountSensitiveSettings.hiddenCommunityWelcomeBanners.includes(communityData.id))
|
!localAccountSensitiveSettings.hiddenCommunityWelcomeBanners.includes(communityData.id))
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: item.height
|
height: !!item ? item.height : 0
|
||||||
sourceComponent: Component {
|
sourceComponent: Component {
|
||||||
WelcomeBannerPanel {
|
WelcomeBannerPanel {
|
||||||
activeCommunity: communityData
|
activeCommunity: communityData
|
||||||
@ -421,7 +421,7 @@ Item {
|
|||||||
(!localAccountSensitiveSettings.hiddenCommunityChannelAndCategoriesBanners ||
|
(!localAccountSensitiveSettings.hiddenCommunityChannelAndCategoriesBanners ||
|
||||||
!localAccountSensitiveSettings.hiddenCommunityChannelAndCategoriesBanners.includes(communityData.id))
|
!localAccountSensitiveSettings.hiddenCommunityChannelAndCategoriesBanners.includes(communityData.id))
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: item.height
|
height: !!item ? item.height : 0
|
||||||
sourceComponent: Component {
|
sourceComponent: Component {
|
||||||
ChannelsAndCategoriesBannerPanel {
|
ChannelsAndCategoriesBannerPanel {
|
||||||
id: channelsAndCategoriesBanner
|
id: channelsAndCategoriesBanner
|
||||||
|
Loading…
x
Reference in New Issue
Block a user