Unused hasAddedContacts property removed from multiple components

This commit is contained in:
Michał Cieślak 2024-10-28 11:19:20 +01:00 committed by Michał
parent adc8f5bc3a
commit ff5e1654ec
6 changed files with 0 additions and 10 deletions

View File

@ -40,8 +40,6 @@ StatusSectionLayout {
id: root id: root
property ContactsStore contactsStore property ContactsStore contactsStore
property bool hasAddedContacts: contactsStore.myContactsModel.count > 0
property SharedStores.RootStore sharedRootStore property SharedStores.RootStore sharedRootStore
property SharedStores.UtilsStore utilsStore property SharedStores.UtilsStore utilsStore
property ChatStores.RootStore rootStore property ChatStores.RootStore rootStore
@ -307,7 +305,6 @@ StatusSectionLayout {
walletAssetsStore: root.walletAssetsStore walletAssetsStore: root.walletAssetsStore
currencyStore: root.currencyStore currencyStore: root.currencyStore
emojiPopup: root.emojiPopup emojiPopup: root.emojiPopup
hasAddedContacts: root.hasAddedContacts
isPendingOwnershipRequest: root.isPendingOwnershipRequest isPendingOwnershipRequest: root.isPendingOwnershipRequest
onInfoButtonClicked: root.communityInfoButtonClicked() onInfoButtonClicked: root.communityInfoButtonClicked()
onManageButtonClicked: root.communityManageButtonClicked() onManageButtonClicked: root.communityManageButtonClicked()

View File

@ -17,7 +17,6 @@ Rectangle {
property var activeCommunity property var activeCommunity
property RootStore store property RootStore store
property var communitySectionModule property var communitySectionModule
property bool hasAddedContacts
signal manageCommunityClicked() signal manageCommunityClicked()

View File

@ -15,7 +15,6 @@ StatusModal {
id: root id: root
property var community property var community
property bool hasAddedContacts
property var communitySectionModule property var communitySectionModule
onClosed: { onClosed: {

View File

@ -42,7 +42,6 @@ Item {
property CommunitiesStores.CommunitiesStore communitiesStore property CommunitiesStores.CommunitiesStore communitiesStore
required property WalletStores.WalletAssetsStore walletAssetsStore required property WalletStores.WalletAssetsStore walletAssetsStore
required property CurrenciesStore currencyStore required property CurrenciesStore currencyStore
property bool hasAddedContacts: false
property var communityData property var communityData
property int joinedMembersCount property int joinedMembersCount
property alias createChannelPopup: createChannelPopup property alias createChannelPopup: createChannelPopup
@ -411,7 +410,6 @@ Item {
WelcomeBannerPanel { WelcomeBannerPanel {
activeCommunity: communityData activeCommunity: communityData
store: root.store store: root.store
hasAddedContacts: root.hasAddedContacts
communitySectionModule: root.communitySectionModule communitySectionModule: root.communitySectionModule
onManageCommunityClicked: root.manageButtonClicked() onManageCommunityClicked: root.manageButtonClicked()
} }

View File

@ -154,7 +154,6 @@ QtObject {
property ProfileStores.ContactsStore contactStore: profileSectionStore.contactsStore property ProfileStores.ContactsStore contactStore: profileSectionStore.contactsStore
property ProfileStores.PrivacyStore privacyStore: profileSectionStore.privacyStore property ProfileStores.PrivacyStore privacyStore: profileSectionStore.privacyStore
property ProfileStores.MessagingStore messagingStore: profileSectionStore.messagingStore property ProfileStores.MessagingStore messagingStore: profileSectionStore.messagingStore
property bool hasAddedContacts: contactStore.myContactsModel.count > 0
property real volume: !!appSettings ? appSettings.volume * 0.01 : 0.5 property real volume: !!appSettings ? appSettings.volume * 0.01 : 0.5
property bool notificationSoundsEnabled: !!appSettings ? appSettings.notificationSoundsEnabled : true property bool notificationSoundsEnabled: !!appSettings ? appSettings.notificationSoundsEnabled : true

View File

@ -569,8 +569,6 @@ QtObject {
id: communityProfilePopup id: communityProfilePopup
CommunityProfilePopup { CommunityProfilePopup {
hasAddedContacts: rootStore.hasAddedContacts
onClosed: destroy() onClosed: destroy()
} }
}, },