From 9ad776d2778a166c799626319eac4cac780c4da0 Mon Sep 17 00:00:00 2001 From: Abhishek Banthia <8280282+n0shake@users.noreply.github.com> Date: Wed, 13 Apr 2022 15:04:25 -0400 Subject: [PATCH] Fix Search Data Source tests. --- Clocker/Preferences/General/SearchDataSource.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Clocker/Preferences/General/SearchDataSource.swift b/Clocker/Preferences/General/SearchDataSource.swift index d458d9b..6bc452f 100644 --- a/Clocker/Preferences/General/SearchDataSource.swift +++ b/Clocker/Preferences/General/SearchDataSource.swift @@ -21,7 +21,7 @@ struct TimezoneMetadata { } class SearchDataSource: NSObject { - private weak var searchField: NSSearchField! + private var searchField: NSSearchField! private var finalArray: [RowType] = [] private var location: SearchLocation = .preferences private var dataTask: URLSessionDataTask? = .none