Move modules tip to +/-
This commit is contained in:
parent
7070661c3b
commit
00bf415056
|
@ -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 {
|
||||
|
|
|
@ -309,6 +309,7 @@ struct ThemeTipModifier: ViewModifier {
|
|||
} label: {
|
||||
ThemeImage(.tip)
|
||||
}
|
||||
.imageScale(.large)
|
||||
.buttonStyle(.borderless)
|
||||
.popover(isPresented: $isPresenting, arrowEdge: edge) {
|
||||
VStack {
|
||||
|
|
Loading…
Reference in New Issue