File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ final class OpenQuicklyViewModel: ObservableObject {
2424 ///
2525 /// ``OpenQuicklyPreviewView`` also uses this to load the `fileUrl` for preview.
2626 struct SearchResult : Identifiable , Hashable {
27- var id : String { fileURL. absoluteString }
27+ var id : String { fileURL. id }
2828 let fileURL : URL
2929 let matchedCharacters : [ NSRange ]
3030
Original file line number Diff line number Diff line change @@ -9,12 +9,6 @@ import SwiftUI
99import AppKit
1010import Foundation
1111
12- // Change from private to fileprivate
13- private struct IdentifiableURL : Identifiable {
14- let url : URL
15- var id : String { url. absoluteString }
16- }
17-
1812struct WelcomeView : View {
1913 @Environment ( \. colorScheme)
2014 var colorScheme
You can’t perform that action at this time.
0 commit comments