mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Disable smart quotes on search bar
This commit is contained in:
parent
421de02969
commit
d553352ddd
3 changed files with 26 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
//
|
||||
// File.swift
|
||||
//
|
||||
//
|
||||
// Created by Jackson Harper on 12/13/23.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
|
@ -75,6 +75,7 @@
|
|||
innerBody
|
||||
}.introspectViewController { controller in
|
||||
searchBar = Introspect.findChild(ofType: UISearchBar.self, in: controller.view)
|
||||
searchBar?.smartQuotesType = .no
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
import Foundation
|
||||
import SwiftUI
|
||||
|
||||
struct SelectBadgeFilterView: View {
|
||||
@ObservedObject var viewModel: FiltersViewModel
|
||||
|
||||
var body: some View {
|
||||
List {
|
||||
ForEach(viewModel.libraryFilters) { filter in
|
||||
HStack {
|
||||
Text(filter.name)
|
||||
Spacer()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue