Merge pull request #1381 from omnivore-app/fix/font-nav-link-tap

Font Nav Link Fix
This commit is contained in:
Jackson Harper
2022-11-02 10:50:35 +08:00
committed by GitHub

View File

@ -142,14 +142,16 @@ public enum WebFont: String, CaseIterable {
}
)
HStack {
NavigationLink(destination: fontList) {
NavigationLink(destination: fontList) {
HStack {
Text("Font")
Spacer()
Image(systemName: "chevron.right")
// Button(action: {}, label: { Text("Crimson Text").frame(width: 91) })
// .buttonStyle(RoundedRectButtonStyle())
}
Spacer()
Button(action: {}, label: { Text("Crimson Text").frame(width: 91) })
.buttonStyle(RoundedRectButtonStyle())
}
.foregroundColor(.appGrayTextContrast)
.frame(height: 40)
Toggle("High Contrast Text:", isOn: $prefersHighContrastText)