Skip to content

Commit 686562d

Browse files
author
Apptek Studios
committed
no message
1 parent a0addb0 commit 686562d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

Library/SwiftUI/SwiftUI.Color+ColorResource.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import SwiftUI
1111

1212
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
13-
public extension SwiftUI.Color {
13+
public extension Color {
1414
/**
1515
Returns the SwiftUI.Color from this resource (R.color.*)
1616

@@ -25,7 +25,7 @@ public extension SwiftUI.Color {
2525

2626
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
2727
public extension ColorResource {
28-
var color: SwiftUI.Color {
28+
var color: Color {
2929
SwiftUI.Color(self)
3030
}
3131
}

Package.swift

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
// swift-tools-version:5.0
1+
// swift-tools-version:5.2
22

33
import PackageDescription
44

55
let package = Package(
66
name: "R.swift.Library",
77
platforms: [
8-
.iOS(.v8),
9-
.tvOS(.v9),
10-
.watchOS(.v2),
8+
.iOS(.v13)
119
],
1210
products: [
1311
.library(name: "Rswift", targets: ["Rswift"])
1412
],
1513
targets: [
16-
.target(name: "Rswift", path: "Library")
14+
.target(name: "Rswift", path: "Library")
1715
]
1816
)

0 commit comments

Comments
 (0)