Fix a build warning and a formatting issue.

This commit is contained in:
Brent Simmons 2024-04-07 22:38:18 -07:00
parent dfcf567270
commit 2dc9b8586c
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class SafariExtensionHandler: SFSafariExtensionHandler {
// Maps from UUID to a validation wrapper
static var gPingPongMap = Dictionary<String, ValidationWrapper>()
static var validationQueue = DispatchQueue(label: "Toolbar Validation")
static let validationQueue = DispatchQueue(label: "Toolbar Validation")
// Bottleneck for calling through to a validation handler we have saved, and removing it from the list.
static func callValidationHandler(forHandlerID handlerID: String, withShouldValidate shouldValidate: Bool) {

View File

@ -10,6 +10,7 @@ import Articles
import Foundation
protocol SortableArticle {
var sortableName: String { get }
var sortableDate: Date { get }
var sortableArticleID: String { get }