parent
3de073edb8
commit
055fec9109
|
@ -437,12 +437,7 @@ Item {
|
||||||
(!localAccountSensitiveSettings.hiddenCommunityWelcomeBanners ||
|
(!localAccountSensitiveSettings.hiddenCommunityWelcomeBanners ||
|
||||||
!localAccountSensitiveSettings.hiddenCommunityWelcomeBanners.includes(communityData.id))
|
!localAccountSensitiveSettings.hiddenCommunityWelcomeBanners.includes(communityData.id))
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: {
|
height: item.height
|
||||||
// I dont know why, the binding doesn't work well if this isn't here
|
|
||||||
item && item.height
|
|
||||||
return active ? item.height : 0
|
|
||||||
}
|
|
||||||
|
|
||||||
sourceComponent: Component {
|
sourceComponent: Component {
|
||||||
CommunityWelcomeBannerPanel {
|
CommunityWelcomeBannerPanel {
|
||||||
activeCommunity: communityData
|
activeCommunity: communityData
|
||||||
|
@ -459,11 +454,7 @@ Item {
|
||||||
(!localAccountSensitiveSettings.hiddenCommunityChannelAndCategoriesBanners ||
|
(!localAccountSensitiveSettings.hiddenCommunityChannelAndCategoriesBanners ||
|
||||||
!localAccountSensitiveSettings.hiddenCommunityChannelAndCategoriesBanners.includes(communityData.id))
|
!localAccountSensitiveSettings.hiddenCommunityChannelAndCategoriesBanners.includes(communityData.id))
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: {
|
height: item.height
|
||||||
// I dont know why, the binding doesn't work well if this isn't here
|
|
||||||
item && item.height
|
|
||||||
return active ? item.height : 0
|
|
||||||
}
|
|
||||||
sourceComponent: Component {
|
sourceComponent: Component {
|
||||||
CommunityChannelsAndCategoriesBannerPanel {
|
CommunityChannelsAndCategoriesBannerPanel {
|
||||||
id: channelsAndCategoriesBanner
|
id: channelsAndCategoriesBanner
|
||||||
|
@ -483,11 +474,7 @@ Item {
|
||||||
(!localAccountSensitiveSettings.hiddenCommunityBackUpBanners ||
|
(!localAccountSensitiveSettings.hiddenCommunityBackUpBanners ||
|
||||||
!localAccountSensitiveSettings.hiddenCommunityBackUpBanners.includes(communityData.id))
|
!localAccountSensitiveSettings.hiddenCommunityBackUpBanners.includes(communityData.id))
|
||||||
width: parent.width
|
width: parent.width
|
||||||
height: {
|
height: item.height
|
||||||
// I dont know why, the binding doesn't work well if this isn't here
|
|
||||||
item && item.height
|
|
||||||
return active ? item.height : 0
|
|
||||||
}
|
|
||||||
sourceComponent: Component {
|
sourceComponent: Component {
|
||||||
BackUpCommuntyBannerPanel {
|
BackUpCommuntyBannerPanel {
|
||||||
id: backupBanner
|
id: backupBanner
|
||||||
|
|
Loading…
Reference in New Issue