MCPcopy Create free account
hub / github.com/altic-dev/FluidVoice / sidebarNavigationLink

Method sidebarNavigationLink

Sources/Fluid/ContentView.swift:1206–1213  ·  view source on GitHub ↗
(_ item: SidebarItem, title: String, systemImage: String)

Source from the content-addressed store, hash-verified

1204 }
1205
1206 private func sidebarNavigationLink(_ item: SidebarItem, title: String, systemImage: String) -> some View {
1207 NavigationLink(value: item) {
1208 Label(title, systemImage: systemImage)
1209 .font(self.theme.typography.sidebarItem)
1210 .frame(minHeight: 24, alignment: .leading)
1211 .padding(.vertical, self.theme.metrics.spacing.xs / 2)
1212 }
1213 }
1214
1215 private var themePreferenceButton: some View {
1216 Button {

Callers 1

ContentViewStruct · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected