Commit c3d0407d15
Unsigned
Layout: unified · split
Hutch/App/HutchIntents.swift +1 −1
| @@ -337,7 +337,7 @@ struct CheckBuildsIntent: AppIntent { | |||
| 337 | 337 | ||
| 338 | // MARK: - Search Type | 338 | // MARK: - Search Type |
| 339 | 339 | ||
| 340 | extension LookupType: @retroactive AppEnum { | 340 | extension LookupType: AppEnum { |
| 341 | public nonisolated static var typeDisplayRepresentation: TypeDisplayRepresentation { | 341 | public nonisolated static var typeDisplayRepresentation: TypeDisplayRepresentation { |
| 342 | TypeDisplayRepresentation(name: "Search Type") | 342 | TypeDisplayRepresentation(name: "Search Type") |
| 343 | } | 343 | } |
Hutch/Views/Repositories/SyntaxHighlighter.swift +2 −2
| @@ -3,7 +3,7 @@ import Highlightr | |||
| 3 | import SwiftUI | 3 | import SwiftUI |
| 4 | import UIKit | 4 | import UIKit |
| 5 | 5 | ||
| 6 | enum SyntaxHighlightTheme { | 6 | nonisolated enum SyntaxHighlightTheme { |
| 7 | case light | 7 | case light |
| 8 | case dark | 8 | case dark |
| 9 | 9 | ||
| @@ -31,7 +31,7 @@ enum SyntaxHighlightTheme { | |||
| 31 | /// instance must stay on the thread/task that created it. Callers that fail to | 31 | /// instance must stay on the thread/task that created it. Callers that fail to |
| 32 | /// resolve a language — or hit an unavailable engine — get `nil` and should | 32 | /// resolve a language — or hit an unavailable engine — get `nil` and should |
| 33 | /// fall back to plain, escaped text. | 33 | /// fall back to plain, escaped text. |
| 34 | final class SyntaxHighlighter { | 34 | nonisolated final class SyntaxHighlighter { |
| 35 | private let highlightr: Highlightr? | 35 | private let highlightr: Highlightr? |
| 36 | private let supportedLanguages: Set<String> | 36 | private let supportedLanguages: Set<String> |
| 37 | 37 | ||