From 5e46eb2fe59cac01d2443fbf9b31fbb48c6a3ce3 Mon Sep 17 00:00:00 2001 From: Davide Date: Mon, 28 Oct 2024 22:34:07 +0100 Subject: [PATCH] Fix "Connect to..." appearing in non-providers --- .../Library/Sources/AppUI/Views/UI/ProfileContextMenu.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Passepartout/Library/Sources/AppUI/Views/UI/ProfileContextMenu.swift b/Passepartout/Library/Sources/AppUI/Views/UI/ProfileContextMenu.swift index a8b642ed..5be3e9b8 100644 --- a/Passepartout/Library/Sources/AppUI/Views/UI/ProfileContextMenu.swift +++ b/Passepartout/Library/Sources/AppUI/Views/UI/ProfileContextMenu.swift @@ -80,7 +80,7 @@ private extension ProfileContextMenu { var providerConnectToButton: some View { profile? - .firstProviderModule + .firstProviderModuleWithMetadata .map { _ in Button(Strings.Ui.ProfileContext.connectTo) { flow?.onEditProviderEntity(profile!)