Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c731186

Browse files
committedMar 19, 2025
Fix macOS compilation as well
1 parent c1fcc46 commit c731186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎PostHog/PostHogContext.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class PostHogContext {
211211
properties["$screen_height"] = Float(screenSize.height)
212212
}
213213

214-
if #available(iOS 16.0, *) {
214+
if #available(iOS 16.0, macOS 13.0, *) {
215215
if let languageCode = Locale.current.language.languageCode {
216216
properties["$locale"] = languageCode.identifier
217217
}

0 commit comments

Comments
 (0)
Please sign in to comment.