Skip to content

Commit b8fd68a

Browse files
author
Vladislav Prusakov
committed
Downgrade swift tool
1 parent 2fc5593 commit b8fd68a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 5.10
1+
// swift-tools-version: 5.9
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription

Sources/EasySkeleton/EasySkeleton.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import SwiftUI
99

10-
public struct SkeletonData {
10+
public struct SkeletonData: @unchecked Sendable {
1111

1212
public enum AnimationType {
1313
case solid(Color)

Sources/EasySkeleton/Extensions/View+Skeleton.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public struct SkeletonViewModifier: ViewModifier {
5353
}
5454
}
5555

56-
private struct SkeletonShape: Shape {
57-
56+
private struct SkeletonShape: Shape, @unchecked Sendable {
57+
5858
@Environment(\.skeleton) private var skeleton
5959
@State private var opacity: Double = 1
6060

0 commit comments

Comments
 (0)