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

View File

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

View File

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

View File

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

View File

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

View File

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