Skip to content

Commit

Permalink
Show monospaced fonts only in font picker thebaselab#759
Browse files Browse the repository at this point in the history
  • Loading branch information
bummoblizard committed Feb 4, 2023
1 parent 15034a6 commit 15f50a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CodeApp/Views/SettingsFontPicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ public struct SettingsFontPicker: UIViewControllerRepresentable {
let configuration = UIFontPickerViewController.Configuration()
configuration.includeFaces = false
configuration.displayUsingSystemFont = false
configuration.filteredTraits = .traitMonoSpace

let vc = UIFontPickerViewController(configuration: configuration)
vc.delegate = context.coordinator
Expand Down

0 comments on commit 15f50a8

Please sign in to comment.