From 00bf415056a7390d61e660ac219254b73347c772 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Fri, 4 Oct 2024 02:57:09 +0200 Subject: [PATCH] Move modules tip to +/- --- .../AppUI/Views/Profile/macOS/ModuleListView+macOS.swift | 3 ++- Passepartout/Library/Sources/AppUI/Views/Theme/Theme+UI.swift | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Passepartout/Library/Sources/AppUI/Views/Profile/macOS/ModuleListView+macOS.swift b/Passepartout/Library/Sources/AppUI/Views/Profile/macOS/ModuleListView+macOS.swift index 56556876..2ceeb0e9 100644 --- a/Passepartout/Library/Sources/AppUI/Views/Profile/macOS/ModuleListView+macOS.swift +++ b/Passepartout/Library/Sources/AppUI/Views/Profile/macOS/ModuleListView+macOS.swift @@ -59,7 +59,6 @@ struct ModuleListView: View, Routable { } header: { if !profileEditor.modules.isEmpty { Text(Strings.Global.modules) - .themeTip(Strings.Views.Profile.ModuleList.Section.footer, edge: .bottom) } } } @@ -88,6 +87,8 @@ private extension ModuleListView { ThemeImage(.remove) } .disabled(!canRemoveSelectedModule) + EmptyView() + .themeTip(Strings.Views.Profile.ModuleList.Section.footer, edge: .bottom) } var addModuleMenu: some View { diff --git a/Passepartout/Library/Sources/AppUI/Views/Theme/Theme+UI.swift b/Passepartout/Library/Sources/AppUI/Views/Theme/Theme+UI.swift index d9d2fc18..0a5245e9 100644 --- a/Passepartout/Library/Sources/AppUI/Views/Theme/Theme+UI.swift +++ b/Passepartout/Library/Sources/AppUI/Views/Theme/Theme+UI.swift @@ -309,6 +309,7 @@ struct ThemeTipModifier: ViewModifier { } label: { ThemeImage(.tip) } + .imageScale(.large) .buttonStyle(.borderless) .popover(isPresented: $isPresenting, arrowEdge: edge) { VStack {