Fix "Connect to..." appearing in non-providers

This commit is contained in:
Davide 2024-10-28 22:34:07 +01:00
parent acaaf13ceb
commit 5e46eb2fe5
No known key found for this signature in database
GPG Key ID: A48836171C759F5E
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ private extension ProfileContextMenu {
var providerConnectToButton: some View {
profile?
.firstProviderModule
.firstProviderModuleWithMetadata
.map { _ in
Button(Strings.Ui.ProfileContext.connectTo) {
flow?.onEditProviderEntity(profile!)