From 591bdda08124125ecf1dc3b930b5a781c9d20178 Mon Sep 17 00:00:00 2001 From: Davide Date: Tue, 26 Nov 2024 20:05:50 +0100 Subject: [PATCH] Add icon to "Connect to" --- .../Sources/AppUIMain/Views/App/ProfileContextMenu.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Passepartout/Library/Sources/AppUIMain/Views/App/ProfileContextMenu.swift b/Passepartout/Library/Sources/AppUIMain/Views/App/ProfileContextMenu.swift index e86f58cbf..17f68d6b9 100644 --- a/Passepartout/Library/Sources/AppUIMain/Views/App/ProfileContextMenu.swift +++ b/Passepartout/Library/Sources/AppUIMain/Views/App/ProfileContextMenu.swift @@ -98,8 +98,10 @@ private extension ProfileContextMenu { profile? .selectedProvider .map { _ in - Button(Strings.Views.App.ProfileContext.connectTo.withTrailingDots) { + Button { flow?.onProviderEntityRequired(profile!) + } label: { + ThemeImageLabel(Strings.Views.App.ProfileContext.connectTo.withTrailingDots, .profileProvider) } } }