Skip to content

Commit

Permalink
Merge pull request #766 from jszumski/fix-uiscreen-uses-main-actor
Browse files Browse the repository at this point in the history
Fix Xcode 15.3 concurrency warnings when using `Screen.scale`
  • Loading branch information
kean authored Mar 20, 2024
2 parents d658f30 + 3e03d0e commit b01a8f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/Nuke/Internal/Graphics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ extension CGSize {
}
}

@MainActor
enum Screen {
#if os(iOS) || os(tvOS)
/// Returns the current screen scale.
Expand Down

0 comments on commit b01a8f7

Please sign in to comment.